New topic: 

Cannot re-open main application window within mac applic

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Paul1          Post subject: Cannot re-open main application 
window within mac applicPosted: Wed Mar 09, 2011 6:53 pm                        
 
Joined: Mon Jan 24, 2011 6:42 pm
Posts: 19                The app store has ejected my App because if the main 
default window is closed there is no way to re-open it without quitting and 
re-starting the app.

Checking the forums this appears normal mac behaviour. One solution is to put 
Quit in the close event of the window this shuts down the application when the 
window is closed.

However, Apple wants the user to be able to re-open the window.
I have added a Window menu with a menu item Show Window with the code 
'Window1.show' in the menu handler but the menu item "Show Window" remains 
grayed out when I close the window. 

I tried to enable the menu item using
ShowWindow.enabled=true
in the window close event and or in EnableMenuItems
but it remains grayed out.

Any suggestions appreciated
Paul1
RealStudio 5.1 for MAC   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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]

Reply via email to