Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement