Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar
Message
 
To
14/06/1999 17:13:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00229728
Message ID:
00229740
Views:
16
>>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
>
>You may add/dock etc. toolbar to either _SCREEN or 'top-level' form.

I think I'm confused about this 'top-level' form. I have only 1 form. It's not based on a form set or form class. I created the form. How do I add/dock the toolbar? This is my first attempt at toolbars & it was easy to create it but now I can't use it. How do I remove it from the form?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform