Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 - Problem with Escape to Cancel
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
VFP 5.0 - Problem with Escape to Cancel
Miscellaneous
Thread ID:
00037381
Message ID:
00037381
Views:
93
I have a modal form that has a command button which executes an update routine which is somewhat lengthy. When the cmdProceed command button is "clicked", I set the following code:

Thisform.cmdCancel.Caption = " to Cancel"
Thisform.cmdCancel.Default = .T.

The cmdCancel button is set Cancel = .T. already. My understanding is that will activate the click method on the Cancel button.

Guess what. . .It doesn't. What did I do wrong.

TIA - Bill
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Next
Reply
Map
View

Click here to load this message in the networking platform