Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ESC for exit the Form
Message
From
30/03/2000 18:26:49
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00352969
Message ID:
00352985
Views:
27
>I should have tested it. I've called click() on invisible buttons often enough, I assumed ESC could be handled the same way.

Well, only if you can realitically get to the button. If the button has Visible = .F., Enabled = .F., or has a RETURN .F. in the When(), you can't get focus to it, so the shortcut doesn't work. I would think of it like giving it focus and hitting Space, rather than an OKL just running its code.

You can move it off the form, like I said, or give it a hieght and width of 0, which I thought would be illegal.
Previous
Reply
Map
View

Click here to load this message in the networking platform