Information générale
Catégorie:
Programmation Orientée Object
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!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement