Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print button on preview toolbar
Message
De
18/01/2005 14:58:13
 
 
À
18/01/2005 02:01:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00977969
Message ID:
00978274
Vues:
24
E.C. -

|| How to disable print button on report preview toolbar in VFP9? ||

Assuming SET REPORTBEHAVIOR 90, it's even easier than what Doug describes:
oPC = null
do (_REPORTPREVIEW) with m.oPC
oPC.AllowPrintfromPreview = .F.
oRL = create("ReportListener")
oRL.ListenerType = 1
oRL.PreviewContainer = m.oPC
report form ? object m.oRL
Looks like the .AllowPrintFromPreview property didn't make the Help file *sigh*. It's .T. by default but you just set it .F. and you don't get a print button.

Regards,
- Colin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform