Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Docking VFP System Toolbars
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00059676
Message ID:
00059891
Vues:
51
>>>>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

Thanks. I was aware of the "window" related problems with toolbars and had experimented with the MOVE WINDOW command, but wasn't sure if anyone had found any other workarounds. I'll try this out.

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform