Message
General information
Fórum:
Visual FoxPro
Category:
Formulários & Criador de Formulários
Miscellaneous
ID da thread:
00352969
ID da mensagem:
00352985
Views:
32
>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
Responder
Mapa
View