Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Programmatically manipulate System Toolbars?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00843181
Message ID:
00843199
Views:
19
>In VFP8 you can use DOCK WINDOW command. In previous versions you can do something like this
MOVE WINDOW "Form Controls" TO 0,0
>MOUSE DBLCLICK AT 0,0 WINDOW "Form Controls"
>
>>How do you programmatically manipulate system toolbars?
>>
>>But how do you Dock them programmatically?
>>
>>If you can get an object reference, you can just oTbr.Dock(0,x,y)
>>but, How to get the object reference?


That's a big step in the right direction:

I'm trying to get the toolbars to "collapse" into one line if possible, so they don't "creep" as forms and form code windows are opened and closed. Perhaps to have a small program on an ON KEY to run to reset them all to their proper places. The MOUSE DBLCLICK method works to dock them, but doesn't give any control as to where they dock.

Also, the MOUSE DBLCLICK method toggles the dock status: programmatically there must be some way to determine the docked status to tell if it needs to be docked or not.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform