Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Toolbar
Miscellaneous
Thread ID:
00229728
Message ID:
00229728
Views:
57
I created a toolbar and saved it as a toolbar class. Then I put it on an existing form & it doesn't stay on the form. It's on a form under the one with all the stuff on it. The toolbar init has
this.show
this.dock(0)

In the form activate I put code
if type('this.mytoolbar') != 'O'
set classlib to mytoolclass
this.mytoolbar = createobject("mytoolbar")
release classlib mytoolclass
endif

This code puts the toolbar under the VFP toolbar, not on my data-entry form. Also, because I didn't realize I had put the toolbar on the underneath form, it's there about 5 times so when it appears under the VFP toolbar, it's there 5 times. How do I remove all these toolbars? How do I get the toolbar to belong to the custom form? I can't find any info on this. Why are toolbars such a mystery?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform