New topic: Menubar question
<http://forums.realsoftware.com/viewtopic.php?t=47339> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message jerryab Post subject: Menubar questionPosted: Tue Mar 19, 2013 5:34 pm Joined: Mon Dec 12, 2011 7:25 pm Posts: 167 Location: Grand Rapids MI Area Is there a way to have an action preformed when you click on a menu bar option ? Menu bar: File Edit Database Help I would like to do an action if the Database menu item was selected. Can this be done or are the children of menu items only able to do this using the menu handlers ? _________________ iMac 27" (2.8GHz Intel Core i5, 16GB RAM, 1TB Drive) OS X Lion 10.7.3 and Windows 7 Toshiba Laptop Running Windows 7 & WinXP SP3 REAL Studio Enterprise Edition 2012r1 http://www.theultimatecampgroundlog.com Being rewritten for the Mac Top npalardy Post subject: Re: Menubar questionPosted: Tue Mar 19, 2013 7:49 pm Real Software Engineer Joined: Sat Dec 24, 2005 8:18 pm Posts: 7768 Location: Canada, Alberta, Near Red Deer jerryab wrote:Is there a way to have an action preformed when you click on a menu bar option ? Menu bar: File Edit Database Help I would like to do an action if the Database menu item was selected. Can this be done or are the children of menu items only able to do this using the menu handlers ? There's no action sent if the item has children so I doubt you can set this up _________________ Norman Palardy (Real Software) ââââââââââââââââââââââââââââââââââââââââââââââââââ Real Studio Developer Conference - April 23 - 26, 2013 http://www.realsoftware.com/community/realworld.php Top kermit Post subject: Re: Menubar questionPosted: Wed Mar 20, 2013 12:59 am Joined: Mon May 30, 2011 12:56 am Posts: 654 Quote:I would like to do an action if the Database menu item was selected. What action? You might be able to do it in the EnableMenuItems event if if is not visible to the user. You might trick it by putting a small canvas at the top of the window, and detecting a mouseover on the way to the menu. Top kermit Post subject: Re: Menubar questionPosted: Wed Mar 20, 2013 1:05 am Joined: Mon May 30, 2011 12:56 am Posts: 654 and... viewtopic.php?f=7&t=31312&hilit=menu+mouseover 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]
