Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Toolbar
Message
From
08/08/2002 10:24:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP Toolbar
Miscellaneous
Thread ID:
00687510
Message ID:
00687510
Views:
177
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
Next
Reply
Map
View

Click here to load this message in the networking platform