Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar
Message
From
19/06/2002 18:38:20
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00670279
Message ID:
00670347
Views:
24
>Why does it not show up IN the top-level-form?

After trying what VFP help file says about using form set, I was not able to make the toolbar to act as a child of the top level form. It was stuck to the main VFP form.

But I found it could be done without a form set by adding the following to the forms Activate event:

IF TYPE("this.oToolbar") # "O" OR ISNULL(this.oToolbar)
Set Classlib To MyClass Additive
this.oToolbar = CREATEOBJECT("MyTbr")
this.oToolbar.show
ENDIF

Why does it does not work the same way when the code is added to the Init event?
Previous
Reply
Map
View

Click here to load this message in the networking platform