|Real Software Forums
|Arrow Keys being intercepted [Solved]
|Page 1 of 1|
|Author:||DaveS [ Mon May 20, 2013 10:14 am ]|
|Post subject:||Arrow Keys being intercepted [Solved]|
I have a window with a Listbox and a Canvas (actually 3 listboxes)
In the KEYDOWN event for the WINDOW... I am trying to detect arrow keys
Everything works fine for Left/Right arrows, with or without Alt/Cmd/Option etc keys
But Up/Down arrows are ALWAYS intercepted by the listbox, regardless of what I try and do
Is there an easy way to intercept the keys BEFORE the listbox (which is why I put it in the WINDOW keydown)?
|Author:||DaveS [ Mon May 20, 2013 10:35 am ]|
|Post subject:||Re: Arrow Keys being intercepted [Solved]|
Not real keen on my solution... but it seems to work.
In the Keydown and Cellkeydown events of all the listboxes.... and the Keydown Event of the Window itself... I made a call to an external key handler..... this way no matter who gets the key event, ONE place handles it
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group