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


Create your own report preview toolbar by Mike Lewis
Posted: 23 Nov 03 (Edited 16 Nov 06)

If you are not happy with the toolbar that controls the report preview screen, why not build your own? This FAQ does not give step-by-step instructions for creating a toolbar, but it will give you an idea of what code to put in the Click events of some of the buttons.

The following code should go in the various page navigation buttons:


KEYBOARD "{PGDN}"  && next page
KEYBOARD "{PGUP}"  && previous page
KEYBOARD "{HOME}"  && first page
KEYBOARD "{END}"   && previous page
To open the "Go to page" dialogue:



To jump to a particular page, add the page number and the Enter key to the above command, for example:


KEYBOARD "G9{ENTER}"  && go to page 9

And finally, to toggle the zoom factor:



You can't mimic the full functionality of the built-in toolbar, but with the above code, you can get most of the way there.

Mike Lewis
Edinburgh, Scotland

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