Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Docking toolbars to top level Form
Message
From
12/12/2000 09:16:32
 
 
To
11/12/2000 17:05:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00451915
Message ID:
00452159
Views:
32
I found the following in the VFP help under
"toolbars - adding custom to form sets":
----------------------------------------------
To add a toolbar to a form set using code
In the form set’s Init event, use the SET CLASSLIB command to specify the library containing the toolbar class, and then create a toolbar from that class in the form set.
For example, to add and display the toolbar tbrPrint, which is based on the printing class in the inventory class library, add the following code to the form set’s Init event:

SET CLASSLIB TO inventory
THIS.AddObject("tbrPrint","printing")
THIS.tbrPrint.Show
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform