Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Commands On A Line?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146087
Message ID:
00146109
Views:
38
Kevin,

It's far, far better to use the form.KeyPress() method to process keystrokes that to use OKLs. Also if you have a CommandButton with it's Cancel property set to .t. its click event will fire.

>Just so you're not in suspense: I figured out my problem using the form.keypress method and testing for nKeyCode = 27. Thanks for the suggestion, but this approach doesn't require a separate .prg file so I like it a lot!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform