New topic: AltGr / Right Alt Keydown Event Capture
<http://forums.realsoftware.com/viewtopic.php?t=47894> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message denise Post subject: AltGr / Right Alt Keydown Event CapturePosted: Thu May 16, 2013 4:45 am Joined: Thu Jun 29, 2006 5:55 am Posts: 51 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 DaveS Post subject: Re: AltGr / Right Alt Keydown Event CapturePosted: Thu May 16, 2013 9:22 am Joined: Sun Aug 05, 2007 10:46 am Posts: 4882 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 denise Post subject: Re: AltGr / Right Alt Keydown Event CapturePosted: Thu May 16, 2013 9:55 am Joined: Thu Jun 29, 2006 5:55 am Posts: 51 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? _________________ RB 2008 R1 Mac/Windows Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 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]
