Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Event programmatically
Message
De
29/09/2016 03:28:26
 
 
À
28/09/2016 18:20:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01641466
Message ID:
01641473
Vues:
41
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
Fil
Voir

Click here to load this message in the networking platform