Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(1037)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00620415
Message ID:
00620780
Views:
20
*!* 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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform