Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lostfocus ?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00421546
Message ID:
00421579
Views:
15
>I have a list box that in the lost focus event fires a necessary procedure. I want to skip this when someone presses the cancel button. How do I trap for that specific object?

You can set the Cancel propety and do the LastKey() = 27 thing, and if you need more flexibility, you can look check if MDown() and Sys(1270) is your button. If you need more control, check out Thread #404395 Message #404755 for some ideas.
Previous
Reply
Map
View

Click here to load this message in the networking platform