Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview Report - Jump to 75% Zoom programmatically
Message
 
 
To
12/03/2004 09:45:10
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00885593
Message ID:
00886091
Views:
14
This message has been marked as the solution to the initial question of the thread.
In 8 (assuming you're working in 8) you can cycle through the available zoom states with the "L" key. Not sure if this would work but you might be able to PLAY MACRO or KEYBOARD a sequence of "L's" just previous to a REPORT FORM PREVIEW command to get the zoom to 75%. NOw that I think about it, it should always be one "L" from the default state of 100%.

The other stuff you want to do with the preview toolbar is probably simpler than you think <g>. However you say you are opening the report in a form and it's difficult to say how to do it without a concrete example. If you post simple steps to repro I'll try to show you.

One thing: I don't think you're using the right method to dock the toolbar, I wouldn't do this with the mouse.

Have you tried:

DOCK WINDOW ("print preview") POSITION 0

Previous to this command you might also have to ensure that the toolbar was visible -- that's easily done with WVISIBLE() -- but if you want to make it visible if it happens not to be (because the user closed it, that's a bit more difficult. I can dig up some code for that if you want it.

>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform