Thanks Terry and Russ,
maybe I should add this.
Even if the main window is opened, closing a particular one window not only 
closes that window but the whole app shuts down. Other windows don't do that.
I am referring to the top left red button.
So what I had to do was to add a pushbutton just under that and in its action 
event I put Close, now clicking on that pushbutton only closes that window, the 
whole app don't shut down.
I was looking for Application.AutoQuit Property. but I could not find it.
Lennox.

Terry Ford <[EMAIL PROTECTED]> wrote: 
On Aug 14, 2006, at 8:46 PM, Lennox Jacob wrote:

> Herllo,
> I have an App which can have several secopndary windows opened.  
> There are some (not all) windows, which, when the CloseButton is  
> clicked not only closes that window but the whole app. Other  
> windows work perfectly.
> I have checked them several times but just cannot find the problem,  
> is there something I might be overlooking?
> Any suggestions?

Is this on Mac or Windows?

Check out the Application.AutoQuit Property.
----------------------
Application.AutoQuit Property
Syntax
AutoQuit as Boolean

If True, the application will quit when the last window is closed,  
whether by calling the Close method of the Window class or the user  
closed the last window. AutoQuit defaults to True on non-MDI Windows  
applications and True on Linux.

It defaults to False on MDI Windows and Macintosh applications.

--------------------

Other than that, I can't see anything else unless you have a quit  
hidden somewhere you have forgotten about. Search for all quit  
instanced in the Find...

Terry

Off to work now.


_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



                        
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to