Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 08, 2019 11:40 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: AltGr / Right Alt Keydown Event Capture
PostPosted: Thu May 16, 2013 4:45 am 
Offline

Joined: Thu Jun 29, 2006 5:55 am
Posts: 54
Hi. Many of my program's foreign users have complained about not being able to use the right alt key modifier (AltGr -- in combination with a regular letter key) to input text. Instead this key's keydown event seems to be interpreted by RB as the ControlKey.

I am using RB2008R1 and have found that there is no AsynKeydown.OptionKey (for the right alt) and that the key is not recognized in KeyDown events.

Has this been fixed in a more recent version of REALStudio and if so which version?

Many thanks,

Denise


Top
 Profile  
Reply with quote  
 Post subject: Re: AltGr / Right Alt Keydown Event Capture
PostPosted: Thu May 16, 2013 9:22 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
ALT (left or right) is a key modifier..... it will alter the key value sent by the accompanying letter key (ie... you need to press TWO keys)


For example : just pressing "A" gives me an ASCB values of 97 (lowercase "A")..... pressing ALT-A gives me 195

NOTE : this in on a US keyboard..... your results may vary..... but I would doubt that ALT (command or control) would ever be recognized as a single key .... except by keyboard.Asyncxxxx where xxxx is one of those keys

_________________
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: AltGr / Right Alt Keydown Event Capture
PostPosted: Thu May 16, 2013 9:55 am 
Offline

Joined: Thu Jun 29, 2006 5:55 am
Posts: 54
Thanks for your reply.

The Right-Alt Key event is being recognized as a single keypress by REALBasic but RB thinks it the Control Key and so is invoking a Control Key procedure that is called using Keyboard.AsyncControlKey in a global timer...to check for hotkeys etc.

When I set my system keyboard to use a Polish programmer's keyboard (as my user says many foreign users do) the Control Key procedure (which happesn to be a status bar info change) occurs instead of allowing the user to use the right alt key (as a modifer) along with another key such as "a" to add a polish accent etc.

And since there is no Keyboard.AsyncRightOptionKey to use it is not working correctly.

Any ideas?

_________________
RS 2012 R2.1 Mac/Windows


Top
 Profile  
Reply with quote  
 Post subject: Re: AltGr / Right Alt Keydown Event Capture
PostPosted: Mon May 20, 2013 11:10 am 
Offline

Joined: Thu Jun 29, 2006 5:55 am
Posts: 54
Hello again. Sorry to bump this up but nobody has responded with any informaton about this issue so was hoping someone might still be able to help. Thanks.

_________________
RS 2012 R2.1 Mac/Windows


Top
 Profile  
Reply with quote  
 Post subject: Re: AltGr / Right Alt Keydown Event Capture
PostPosted: Mon May 20, 2013 11:16 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
Since a major percentage of users on this forum are in America, and have only US keyboards.... you will have to hope that someone from the appropriate country sees your post. It is not like you are being ignored... it is just there is nobody that seems to be able to offer any insight.

Bumping your post probably won't get it answered any quicker

_________________
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  [ 5 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group