| To: | REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Keydown Event |
| From: | Marco Bambini <marco at sqlabs dot net> |
| Date: | Thu, 9 Feb 2006 23:05:44 +0100 |
| Delivered-to: | realbasic-nug dot it at lists dot realsoftware dot com |
| References: | <7E143215-EE18-4E14-A0EE-2E553ED65B73 at mclink dot it> <D71BA035-91F4-4700-B6E4-9F7A6C4F366C at elbrigante dot it> <CBB526BE-0DFD-4D3C-B883-1DB500BCD126 at mclink dot it> <a06230900c0116918db3e at [192 dot 168 dot 2 dot 2]> |
Non so dirti perchè non funziona, ma un modo per aggirare il problema
è quello di aggiungere un controllo Timer (Mode 2- Multiple e con un
periodo di circa 1000) e nel suo Action event testare il tasto ESC con:
If Keyboard.AsynckeyDown( escCode) then
me.Window.Close
end if
escCode te lo devi trovare tu però :-)
---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/
On Feb 9, 2006, at 10:52 PM, Luca Infante wrote:
Ciao a tutti ho un problemino. Come mai il Keydown Event della Finestra avviene solo se un qualsiasi editfield presente nella finestra ha il focus? A me dovrebbe funzionare anche quando il focus è della Finestra. Come faccio? In pratica vorrei che l'utente schiacciando il tasto esc chiuda la finestra.Grazie Mille. Ciao Luca |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Keydown Event, Luca Infante |
|---|---|
| Next by Date: | Re: Keydown Event, Alessandro |
| Previous by Thread: | Keydown Event, Luca Infante |
| Next by Thread: | Re: Keydown Event, Luca Infante |
| Indexes: | [Date] [Thread] [Top] [All Lists] |