Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control the size of VFP report previewer
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00381526
Message ID:
00381614
Views:
16
>I am using VFP 6 and have several different reports created in an application.
>
>I am using the report preview feature, and would like the preview window to be maximized. Is there a way
>that I can control it?

Just issue a maximize keystroke with the KEYBOARD command. Note that you should check if there is any data for the report so that you don't end up maximizing another window.

IF _TALLY < 1
= messagebox("No data for report","Info")
RETURN .F.
ELSE
SELECT cReport
KEYBOARD '{CTRL+F10}' && maximize print preview window
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform