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:
Code:
KEYBOARD "{PGDN}" && next page
KEYBOARD "{PGUP}" && previous page
KEYBOARD "{HOME}" && first page
KEYBOARD "{END}" && previous page
To open the "Go to page" dialogue:
Code:
KEYBOARD G
To jump to a particular page, add the page number and the Enter key to the above command, for example:
Code:
KEYBOARD "G9{ENTER}" && go to page 9
And finally, to toggle the zoom factor:
Code:
KEYBOARD "Z"
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
www.ml-consult.co.uk
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.