Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Toolbar
Message
De
08/08/2002 10:24:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP Toolbar
Divers
Thread ID:
00687510
Message ID:
00687510
Vues:
176
Hi all,

This is referring back to my original post back awhile ago and I am still having minor problem with VFP toolbar. I managed to get help regarding to docking the toolbar inside the SDI class form. Here is what I found lately.

In the activate() method of the class form I have the following.

IF TYPE('_Screen.ActiveForm.oNavigator') = 'O' AND;
!ISNULL(_Screen.ActiveForm.oNavigator)
RETURN .T.
ENDIF

SET CLASSLIB TO "Lib\HS.vcx" ADDITIVE

ThisForm.oNavigator=CREATEOBJECT("NavKeys")
ThisForm.oNavigator.Show
ThisForm.oNavigator.Dock(0)

RELEASE CLASSLIB "Lib\HS.vcx"

Why can I put this codes in the Init() method? Can't see the toolbar unless the above code is in the activate()

I noticed I ran my form, I have disabled some of the buttons in the Init() (not the class form) and that did not get fired. Why?

How can I launch my form with proper toolbar buttons properly disabled initially?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform