Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Toolbar in SDI Form
Hi All,
Thank you for all the tips regarding to toolbar. The question continue...
This time, after I created a class with SDI form (as top level form) and few toolbars. When I used the SDI form template to build new form (company), I was hoping that the toolbar will be part of my new form (company), but instead the toolbar dock at the VFP screen.
The following code is part of the navi() method that I created.
IF TYPE("thisform.oNavigator")="O" AND;
!ISNULL(thisform.oNavigator)
IF Thisform.onavigator.visible = .F. THEN
Thisform.onavigator.visible = .T.
ENDIF
RETURN
ENDIF
*SET ClassLib TO ToolSet1.vcx ADDITIVE
I commented this section out and put in the init() of the SDI form. This created another problem. When I ran the company.scx and I got this error.
CLASS Definition Navigator NOT Found.
Thisform.oNavigator = CREATE("Navigator")
Thisform.oNavigator.Show
Thisform.oNavigator.Dock(0)
Can anyone tell me what I am doing wrong.
Thanks in advance
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement