Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar in SDI Form
Message
De
11/06/2002 19:53:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Toolbar in SDI Form
Divers
Thread ID:
00667153
Message ID:
00667153
Vues:
54
Hi All,

I created a class with SDI(as top level form) and few toolbars(in top level form). Using SDI form as a template to create new form (Company.scx) and calling the methods to dock toolbars as part of the SDI form. When I ran the company form the toolbar dock underneath the VFP Screen. Why?

The following is Navi() method that I created and called in the init() of the company.scx

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
When commented the line above, I got this error CLASS DEFINITION Navigator NOT FOUND.

Thisform.oNavigator = CREATE("Navigator")
Thisform.oNavigator.Show
Thisform.oNavigator.Dock(0)

How could I fixed this problem? Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform