Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview in maximized window?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00430752
Message ID:
00431214
Vues:
12
One option that I have found simple and useful because it offers complete control is to preview the report in a windows. First, define the window, and set its state to maximized and visibilty to .F.

For example

PUBLIC Def_Preview
Def_Preview = CreateObject("form")
With Def_Preview
.Caption = "Report Preview"
.Name = "DefPreviewWindow"
.WindowState = 2
.Visible = .F.
EndWith

Then, when you want to print a report, issue the following command

def_preview.visible = .T.
REPORT FORM rptReport PREVIEW WINDOW "DefPreviewWindow"
def_preview.visible = .F.

Hope this helps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform