General information
Category:
Forms & Form designer
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
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