New topic: File save menu ... how to enable
<http://forums.realsoftware.com/viewtopic.php?t=38392> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message MaxMBJ Post subject: File save menu ... how to enablePosted: Tue Mar 29, 2011 9:21 pm Joined: Thu Feb 03, 2011 11:47 am Posts: 63 I can't get my File --> Save menuitem to un-ghost. I've tried it with auto-enable on and off. I put this little bit of code in ... dim m as MenuItem m = FileMenu.child ("FileSave") m.Enabled = true .. and it will read "true" while I step through it, but then it reverts back to false. Does RS mess with the save menu? Any tips on how to get around this? Thanking in advance, as always. Mark Top jefftullin Post subject: Re: File save menu ... how to enablePosted: Wed Mar 30, 2011 2:16 am Joined: Wed Nov 15, 2006 3:50 pm Posts: 2230 Location: England Does it have any code in the menuhandler? If the save menu item is called FileSave, you dont need to refer to it like this: m = FileMenu.child ("FileSave") just filesave.enabled = true That would go in the enablemenuitems event. Is the menu associated with the window which is open at the time? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 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]
