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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP 6 Getting Report Toolbar to dock 1

Status
Not open for further replies.

eric43

Programmer
Apr 29, 2005
94
AU
Is it possible to have the report Preview open in an app with the Toolbar docked instead of floating?

Thanks

Eric
 

I believe the position of the toolbar is saved in the FoxUser file. Try docking it in dev mode, see if it saves the position in runtime.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 

Eric,

Just to add to Mike Gagnon's advice ...

If you want your users to have the docked toolbar, you will have to distribute the resource file to them.

Keep in mind that the user will be able to undock the toolbar interactively. As far as I know, there is no way of preventing that. However, if they do, and you want to return the toolbar to its docked position the next time they do a report preview, make the resource file read-only. That way, the fact that the user undocked the toolbar will not be recorded.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
Eric

As an alternative to making the entire resource file read-only,...

How can I lock the position of a screen object faq184-940

...implementing that would give you the best of both worlds - a read/write resource file with a toolbar that would always start with the Print preview toolbar docked. [smile]

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
Apologies for the poor communication.
a read/write resource file with a toolbar that would always start with the Print preview toolbar docked.
should be
an application that would always start with the Print preview toolbar docked with a read/write resource file.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top