Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(1037)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00620415
Message ID:
00620780
Vues:
19
*!* cmdOK.Error method
LPARAMETERS nError, cMethod, nLine

if nError = 1429  && going to assume this meant Cancel was clicked on Print Dialog
	thisform.printcancel = .T.
endif
>I still wish there was a more elegant way of trapping for the "Cancel"
>button. Oh well, this will do JUST FINE! Thanks again

It would be slightly more elegant to check AERROR(laError) and confirm that laError(1, 6) (or laError(1, 7), depending on the version of VFP) is cdlCancel (32755).
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform