Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar in SDI Form
Message
De
11/06/2002 19:29:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Toolbar in SDI Form
Divers
Thread ID:
00667149
Message ID:
00667149
Vues:
51
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
Fil
Voir

Click here to load this message in the networking platform