Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Common Dialog
Message
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00657801
Message ID:
00657960
Views:
39
>>>>I need to use the Common Dialog to display the Printer Setup dialog. How do I detect if the user presses Cancel?
>>>
>>>You've to set CancelError=.T. and use error handler to capture error when Cancel button is clicked.
>>
>>Thanks..
>>
>>Next question, now that I've been playing with this a bit. If PrinterDefault = .T., the dialog changes the Windows default printer, which is not acceptable. I need to have PrinterDefault = .F. When I do that, how do I determine which printer the user selected?
>
>This question was asked a couple of times on UT but I don't remember seeing any solutions.

It's weird, why this control doesn't have Printer property. I spent some time on it too before understanding, what there is no way...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform