Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about SYS(1037)
Message
 
To
24/08/2001 11:36:25
Lloyd Grant
Meridian Legal Systems
Buxton, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00548694
Message ID:
00548712
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform