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:
<http://www.realsoftware.com/support/listmanager/>

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

Reply via email to