Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Current printer?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00144671
Message ID:
00144787
Vues:
27
>>>I could wip up my own dialog box, but I really need access to all the settings/pages/landscape etc that the Setup Printer dialog brings up.
>>
>>What do you need that cant be set using the Properties button in the SYS(1037) dialog box?
>
>Nothing. That has everything I need, except the ability to tell me if they cancelled out of the dialog or not. If they had done that, or allowed a setup button on GETPRINTER(), I'd be all set. It just seems like M$ ALWAYS comes up just a little bit short of what you need to get the job done. Just like Access...


Well, there you have it then. Create your own dialog that returns .T. or .F. to indicate whether Ok, or Cancel was pressed. Provide access to the printer settings in a button on the form via sys(1037). You could then have something along these lines:
do form frmPrintDialog to llOkToPrint
if llOkToPrint
	report form .... to print
else
	=messagebox('Print cancelled')
endif
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform