Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Microsoft: FoxPro FAQ


How to make my Report Tool Bars to appear ? by ramani
Posted: 9 Nov 01

** How to make REPORTS TOOLBAR appear while PrintPreview.
** by Subramanian.G (ramani)
**    FoxAcc Software
**    ramani_g@yahoo.com

1. Launch Visual FoxPro.

2. Close any toolbars that you don't want the user to see at run-time (such as the standard toolbar).

3. Open the report designer.

4. Go to View/Toolbars and manually open the two main report designer toolbars (Report Designer and Report Controls).

5. Move these to a suitable location on the screen.Or dock them as you want it to appear, if that is applicable.

6. If you wish, you can also open the Layout and Color Palette toolbars at this point, but this is not essential as the user will be able to open these from the Report Designer toolbar.

7. Now .. Using Windows Explorer, visit the directory from which you launched VFP. Look for FOXUSER.DBF and FOXUSER.FPT, and make them read-only. (To make a file read-only, right-click on it, select Properties, and enable the Read-Only checkbox.)

8. Quit the report designer and close VFP.

9. Copy the two Foxuser files to the directory on the user's system from which your application will be launched.

You can also copy the FoxUser.* to Freport.* or such suitable name. Then at the appropriate place in your application, (may be at the click event of your Print button) issue the command,just before the REPORT FORM .. syntax....issue the code..
and then after the printing is over, set it back to default or watever way you control with the code.. ST RESOURCE TO .. command.
** Ramani  (Subramanian.G), FoxAcc, ramani_g@yahoo.com
** EOF
Evaluate this to make others know how useful is this

Back to Microsoft: FoxPro FAQ Index
Back to Microsoft: FoxPro Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close