Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can sys(1037) return a value?
Message
De
27/01/1999 19:34:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00180612
Message ID:
00181119
Vues:
19
>>In order to avoid problems with the 'report form prompt' command, I use sys(1037) to allow the user to set up a page and choose a printer. Is there any way I can find out if the user pressed 'Cancel' rather than 'Ok' on the form? SYS(1037) does not return a value. (I'm using VFP5a)
>
>David,
>
>Use GetPrinter() instead of SYS(1037). You will need to do a SET PRNTER TO after the GetPrinter() but you will know what they did in the dialog.

Jim,

The reason I didn't use getprinter() in the first place was because of some problems I had with it in version 5. Have you heard of these and were they fixed fully in v5.0a?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform