Re: [lazarus] Keyboard event handlig

2007-08-09 Thread Valdas Jankūnas
Mattias Gaertner rašė: There in Lazarus is way to detect true OnKeyUp event when user really releases keyboard key?? The gtk1 sends 'release' and 'press' events on repeat. The gtk2 sends only 'press' events on repeat. So with the gtk2 interface the OnKeyUp works correct. Mattias Thanks

[lazarus] Keyboard event handlig

2007-08-08 Thread Valdas Jankūnas
Hi, how i can detect when user physically press or releases keyboard key? -- Valdas Jankūnas _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] Keyboard event handlig

2007-08-08 Thread Valdas Jankūnas
Razvan Adrian Bogdan rašė: You mean hook into the keyboard, this is easily done on windows by adding hooks in keyboard, mouse, etc. i don't know how it's done in X11 or GTK but they should also have something for global shortcuts. Using OnKeyPress events only works if your app has focus. Razvan

Re: [lazarus] Keyboard event handlig

2007-08-08 Thread Valdas Jankūnas
Razvan Adrian Bogdan rašė: You mean hook into the keyboard, this is easily done on windows by adding hooks in keyboard, mouse, etc. i don't know how it's done in X11 or GTK but they should also have something for global shortcuts. Using OnKeyPress events only works if your app has focus. Razvan

Re: [lazarus] Keyboard event handlig

2007-08-08 Thread Mattias Gaertner
On Wed, 08 Aug 2007 23:37:31 +0300 Valdas Jankūnas [EMAIL PROTECTED] wrote: Razvan Adrian Bogdan rašė: You mean hook into the keyboard, this is easily done on windows by adding hooks in keyboard, mouse, etc. i don't know how it's done in X11 or GTK but they should also have something for