Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cheezy Tip of the Week (VFP)
Message
From
08/07/1998 15:04:05
 
 
To
08/07/1998 15:01:50
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00115421
Message ID:
00115424
Views:
14
>Rather than pounding your head on the desk in frustration trying to move controls around on a Toolbar (only to have VFP try to snap them in where *it* wants to), try the following:
>
>1) Create a Container object. Make it BorderWidth=0 and BackStyle=0 (transparent). Put all your CommandButtons or whatever you like in the container.
>
>2) Now create your ToolBar and drop an instance of the Container class in it.
>
>Just make sure you use syntax like tbrMain.conMain.cmdModule rather than tbrMain.cmdModule.

Will it look Ok, when you dock toolbar vertically/horizontally?
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform