General information
Category:
Object Oriented Programming
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only