Thanks Russ, I don't use autoquit and I have checked all controls close events for quit and haven't found any. I have more windows which do not behave like this one and I have compared them and didn't find any difference in their properties. So there must be one of the below: Do you have any global variables hidden away in a module somewhere that depend on the active window? Do you have anything within the window that needs it to be the active window? What I'll do is to remove the controls one by one and see what happens. When I finish that I'll let you know. Thanks again. Lennox.
Russ Jones <[EMAIL PROTECTED]> wrote: On Aug 15, 2006, at 12:50 AM, Lennox Jacob wrote: > 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. Hi again Lennox. So - what's the difference between the top left red button to close a window, and your pushbutton? The difference is that the red button will work even if the window it's on is not the frontmost, active window. Clicking on it will not first make the window active. Clicking on your pushbutton will. So - what to look for? Do you have any global variables hidden away in a module somewhere that depend on the active window? Do you have anything within the window that needs it to be the active window? Russ _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: --------------------------------- Get your email and more, right on the new Yahoo.com _______________________________________________ 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>