New topic: Arrow Keys being intercepted [Solved]
<http://forums.realsoftware.com/viewtopic.php?t=47929> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message DaveS Post subject: Arrow Keys being intercepted [Solved]Posted: Mon May 20, 2013 10:14 am Joined: Sun Aug 05, 2007 10:46 am Posts: 4897 Location: San Diego, CA 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)? _________________ Dave Sisemore iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top DaveS Post subject: Re: Arrow Keys being intercepted [Solved]Posted: Mon May 20, 2013 10:35 am Joined: Sun Aug 05, 2007 10:46 am Posts: 4897 Location: San Diego, CA 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 _________________ Dave Sisemore iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
