General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only