New topic: How to handle menuitem action via code
<http://forums.realsoftware.com/viewtopic.php?t=34004> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message designSoftware Post subject: How to handle menuitem action via codePosted: Fri May 28, 2010 1:20 pm Joined: Wed Jun 04, 2008 3:20 pm Posts: 12 Location: Lecce Hi all, i'm here again. Anyone knows about handling a menuitem action via code? For example though a declare function or someting like that... Thanks a lot Marco _________________ Design Software Sviluppa il tuo potenziale e rendilo visibile in rete Stay connected in chat at room ##rb on irc.freenode.net For the italian members, stay connected in chat at room #realbasic or #realstudio on irc.azzurra.org Top timhare Post subject: Re: How to handle menuitem action via codePosted: Fri May 28, 2010 1:25 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 7831 Location: Portland, OR USA Add a Menu Handler to the window or to app. There's an Add Menu Handler button in the toolbar. Then you can type in the name of the menuitem, or there's a dropdown of the menu names that haven't been handled yet. Top designSoftware Post subject: Re: How to handle menuitem action via codePosted: Fri May 28, 2010 2:11 pm Joined: Wed Jun 04, 2008 3:20 pm Posts: 12 Location: Lecce Thanks, but i need to declare some action on a menu created dynamically...so i need to specify it via code like "declare function...etc" _________________ Design Software Sviluppa il tuo potenziale e rendilo visibile in rete Stay connected in chat at room ##rb on irc.freenode.net For the italian members, stay connected in chat at room #realbasic or #realstudio on irc.azzurra.org Top mjh Post subject: Re: How to handle menuitem action via codePosted: Fri May 28, 2010 2:45 pm Joined: Sun Feb 19, 2006 3:10 pm Posts: 751 Location: Hamburg, Germany designSoftware wrote:Thanks, but i need to declare some action on a menu created dynamically...so i need to specify it via code like "declare function...etc" I donât see how declares would help here ⦠Look up âCreating MenuItems on the Flyâ in the REAL Studio Userâs Guide; it explains how to deal with menu items created dynamically. _________________ Michael J. HuÃmann http://digicam-experts.de Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 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]
