Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer dialog box
Message
 
 
À
17/09/2008 09:52:22
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
DB2
Divers
Thread ID:
01348209
Message ID:
01348215
Vues:
15
Yes, sure. In Cancel case GetPrinter returns the empty string.

E.g.
lcPrinter = getprinter()

if empty(m.lcPrinter)
  * Cancel case
endif
>Hello Experts...
>
>In the printer dialog box, when I issue the following command:
>
>=GETPRINTER('Laser')
>
>Is there a way of capture wheather user presses Proceed or Cancel button in response to the windows printer dialog box such as:
>
>
>IF GETPRINTER('Laser')  = .T.
>    *-- do something
>ELSE
>   * do something else
>ENDIF
>
>
>Any help greately appreciated...
>
>Thank you
>
>Raz
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform