Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Event programmatically
Message
From
29/09/2016 03:28:26
 
 
To
28/09/2016 18:20:38
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01641466
Message ID:
01641473
Views:
40
Hi,

Try to put your command 'set printer to name getprinter()' in the rightclick method of that button.
However if you run under VFP9SP2 you could consider to make use of FoxyPreviewer, this class has this option, to select a dedicated printer, built in.

Regards,
Koen

>Good afternoon! please guide me with this: I need to create a right click event on an already created button in a form, I know that this form has a button called btnPrint and I need that when people right click on it performs "set printer to name getprinter()". This must be done in runtime that's the only way.
>Thanks in advance!
Previous
Reply
Map
View

Click here to load this message in the networking platform