New topic: 

How to Assign Arrow Key as MenuItem Shortcut

<http://forums.realsoftware.com/viewtopic.php?t=2975>

         Page 1 of 1
   [ 6 posts ]                 Previous topic | Next topic          Author  
Message        Peter          Post subject: How to Assign Arrow Key as MenuItem 
ShortcutPosted: Tue Feb 21, 2006 10:03 pm                         
Joined: Sun Oct 16, 2005 3:07 am
Posts: 267
Location: Canberra, Australia                Hi, 
 
i need to be able to use the left and right arrow keys as menu commands, but it 
doesnt seem to work. Does anyone know how? I tried to assign the key in code: 
MyMenu.KeyboardShortCut = Chr(29) 
 
but that didnt work either. This would be for OSX. 
 
thanks! 
 
Peter 
http://www.fracturedSoftware.com 
zegsRuler - add rulers to your project in minutes!   
                             Top                Aaron Ballman          Post 
subject: Posted: Tue Feb 21, 2006 10:42 pm                                 
Joined: Wed Sep 28, 2005 8:39 am
Posts: 9341
Location: St Augusta, MN                You cannot -- REALbasic does not allow 
for non-printable keyboard shortcuts at this time.  What's more, doing it via 
declares is also impossible due to the underlying menu system implementation in 
the framework. 
 
The only solution is to trap the proper keys in the KeyDown event and do your 
shortcut that way.  Still unhelpful for actually *showing* the shortcut 
however.   
                             Top                Peter          Post subject: 
Posted: Tue Feb 21, 2006 11:09 pm                         
Joined: Sun Oct 16, 2005 3:07 am
Posts: 267
Location: Canberra, Australia                Bummer! 
 
I have a couple of QuickFixes that need using up - would this qualify?? 
 
thanks! 
 
Peter   
                             Top                Aaron Ballman          Post 
subject: Posted: Tue Feb 21, 2006 11:26 pm                                 
Joined: Wed Sep 28, 2005 8:39 am
Posts: 9341
Location: St Augusta, MN                Not that I'm aware of (though the only 
person who can truly answer that would be your dev support liaison) -- it's not 
a fix, it's a feature request.   
                             Top                neonash7777          Post 
subject: Re: How to Assign Arrow Key as MenuItem ShortcutPosted: Fri Feb 01, 
2013 3:08 pm                                 
Joined: Mon Nov 29, 2010 7:01 pm
Posts: 376                I know this is an old topic, which is why I'm 
wondering if there is now a solution to this problem.

I want Command with an Arrow Key to navigate through history.   
                             Top                Jason_Adams          Post 
subject: Re: How to Assign Arrow Key as MenuItem ShortcutPosted: Fri Feb 01, 
2013 3:35 pm                                 
Joined: Fri Nov 10, 2006 4:10 pm
Posts: 1753
Location: Michigan, USA                By history do you mean the generic 
"undo" or something you've kept track of yourself?      
_________________
Windows 7 Ultimate x64
Windows XP Pro SP3
Ubuntu 11.04 via Virtual Box
RS Enterprise 2012r1.1

Programming Tutorials & Free Projects: http://www.JasonTheAdams.com
"Christianity has not been tried and found wanting; it has been found difficult 
and not tried." - G.K. Chesterton  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 6 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

rbforumnotifier@monkeybreadsoftware.de

Reply via email to