Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement