Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Toolbar in SDI Form
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
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