General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only