Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Nov 12, 2019 12:38 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Arrow Keys being intercepted [Solved]
PostPosted: Mon May 20, 2013 10:14 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
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
 Profile  
Reply with quote  
 Post subject: Re: Arrow Keys being intercepted [Solved]
PostPosted: Mon May 20, 2013 10:35 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
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
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group