Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about SYS(1037)
Message
 
À
24/08/2001 11:36:25
Lloyd Grant
Meridian Legal Systems
Buxton, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00548694
Message ID:
00548712
Vues:
13
>Hi,
>
>I am using SYS( 1037 ) to allow a user to select a printer and the page layout etc prior to printing a report. This is fine, but I can't see a way to determine if the user clicked CANCEL on the dialog. Using GETPRINTER() returns empty string or the name of the users chosen printer so if they click CANCEL I can determine this. SYS( 1037 ) always returns an empty string, as documented in the Hackers guide and MSDN.
>
>Any thoughts on how to determine if the user clicks cancel on a SYS( 1037 ) dialog?
>
>Thanks.
>
>Lloyd Grant.

There's no way, since the function always returns an empty string. The Common Dialog ActiveX control, however, can be used to do this.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform