Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Docking VFP System Toolbars
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00059676
Message ID:
00059809
Views:
39
>>>>Is there any way to programmatically dock a VFP system toolbar ( e.g. "Standard" )?
>>>>
>>>>thanks,
>>>>Bill
>>>
>>>Bill, VFP toolbars are windows, and respond to some commands. In the MOVE WINDOW help it says you can move them but only around the screen, not into/out of docking.
>>>
>>>**HELP TEXT**
>>>For example, to move the Report Controls toolbar (when it isn’t docked) in Visual FoxPro, issue the following command:
>>>
>>>MOVE WINDOW "Report Controls" BY 1,1
>>>
>>>They don't respond to docking commands like toolbars - they seem to be a hybrid.
>>>
>>>Barbara
>>
>>One small addendum: you still can dock standard toolbar using something like:
>>Mouse dblclick at nRow,nCol pixels
>>where nRow,nCol are coordinates within toolbar top bar (can be taken from last MOVE WINDOW command).
>
>Good idea, Ed. Combine this with a Hide Window, move window to nRow, nCol then your double click and a show window and it should be invisible to the user.
>
>Barbara

I think it would be good enough to
MOVE WINDOW Standard TO 0,0
and then
MOUSE dblclick at 5,5 pixels
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform