Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

docking toolbars at runtime 2

Status
Not open for further replies.

BlackDice

Programmer
Mar 1, 2004
257
US
I have some examples on how to hide or show system toolbars. But how can I reference a certain toolbar (like 'Standard' or 'print preview' and dock it programmatically at runtime? I've Googled this with a few different criteria, and VFP 8.0 seems to have a DOCK WINDOW command, but I can't seem to find one for 7.0. Any help is appreciated

bdiamond
 
Hi bdiamond,

I use this code in the deactivate event of my preview form.
Code:
ZOOM WINDOW "Report Designer" MAX 
MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Print Preview"
You can wrap with WEXIST() to minimize errors.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top