>>>>Hi Edward,
>>>>
>>>>This is a reply to your message to me regarding dragging toolbars with the mouse programmatically and undocking toolbars programmatically. Sorry to "reply" with a direct message but I accidentally deleted your message to me before replying :-).
>>>>
>>>>Any idea why DRAG won't work ( feature maybe? :-) )? The DBLCLICK would work except it docks the toolbar in the last docked position. I wanted to find a way to undock the toolbar then move it to a new docked position using DRAG, but this has been unsuccessful.
>>>>
>>>>Bill
>>>
>>>Bill, use the same Mouse Dblclick to undock toolbar, and then again MOVE Window to 'drag'.
>>
>>Yes, MOUSE DBLCLICK will undock toolbar and MOVE WINDOW can move to new location on screen but MOVE WINDOW will not dock toolbar in new location. MOUSE DBLCLICK will dock toolbar in last docked position.
>>
>>Bill
>
>
>Bill -
>
>Have you tried to use the .Dock method and its parms to relocate the toolbar?
>
>Dan
Hi Dan,
Dock() method only works on objects. VFP system toolbars are windows, not objects. Toolbars we create are objects.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.