General information
Category:
Reports & Report designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only