Real Software Forums
http://forums.realsoftware.com/

AltGr / Right Alt Keydown Event Capture
http://forums.realsoftware.com/viewtopic.php?f=1&t=47894
Page 1 of 1

Author:  denise [ Thu May 16, 2013 4:45 am ]
Post subject:  AltGr / Right Alt Keydown Event Capture

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

Author:  DaveS [ Thu May 16, 2013 9:22 am ]
Post subject:  Re: AltGr / Right Alt Keydown Event Capture

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

Author:  denise [ Thu May 16, 2013 9:55 am ]
Post subject:  Re: AltGr / Right Alt Keydown Event Capture

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?

Author:  denise [ Mon May 20, 2013 11:10 am ]
Post subject:  Re: AltGr / Right Alt Keydown Event Capture

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.

Author:  DaveS [ Mon May 20, 2013 11:16 am ]
Post subject:  Re: AltGr / Right Alt Keydown Event Capture

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/