Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I maximize the report preview window?
Message
De
01/03/2000 12:48:28
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00339485
Message ID:
00339920
Vues:
20
>I'm sorry, I know this question was answered recently, but I cannot find it anywhere. I would like to maximize the preview window with some code. Anyone know how?
>


Another option is to design a preview window the way you want.
Some.PRG
DEFINE CLASS MyPreviewTemplate AS Form
  WindowState = 2
  DeskTop = Your preference
ENDDEFINE

oPreview = NEWOBJECT('MyPreviewTemplate', 'Some.PRG')
REPORT FORM (This.FRXName) PREVIEW WINDOW (oPreview.Name) 
My output object knows if the report is landscape, portrait, legal sized, etc., so I can size the preview window appropriately.
The Preview form does not need to be visible to serve as the Preview Window's Template.
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform