>>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.
I got tired of my toolbars and windows going wacky on me.. see
Re: Getting killed with Event ID errors 1000 and 1001 Thread #
779857 Message #
780277
Tracy