Interesting; thanks for the info. Last night, I'd gotten my hidden-
ListBox approach to work, but of course I'd rather do it "correctly",
so I'll diff what you have and what I had, and see what I missed.
There's definitely *some* difference in how the arrow-key events are
captured (at least in IE and Firefox on Windows), but it sounds like I
probably missed something as well.
Anyway, thanks for all the input. I'll post anything interesting if I
find it.
On Jan 8, 6:00 am, Axel Kittenberger <
axe...@gmail.com> wrote:
> Your original version misses OnKeyDown events.
>
> I *can* capture arrow keys in my project.
>
> things to check:
> * are you calling DOM.sinkEvents for events you want to get?
> * are you having the browsers Focus? Do you handle Focus correctly? I
> might suggest extending FocusPanel for example...
>
> Not that capturing special keys doesn't come with unique problems,
> where one has to differ between keydown and keypress (repeat) events,
> especially firefox on linux, where the browser will not send keydown
> events when a second key is pressed while another is beeing held
> (Grrr... Firefox....)
>
> You can see working code here,
>
>
http://axed.googlecode.com/svn/trunk/src/org/axed/user/client/AxedWid...