On Jan 24, 2007, at 2:22 AM, Brian Heibert wrote:

There is nothing in the window's paint event
however this is in the close event of the app class
MainWindow.close
I took that out however and it still unexpectantly quits

No code in the window's Close or CancelClose? Also, on Quit, the Close event of all the controls on the window will fire also, so check for code in their Close events as well.

-Jack





On Jan 23, 2007, at 3:47 PM, Brian Heibert wrote:


I got a problem where in my program the program unexpectantly quits when the user selects quit. Yes I want my program to quit. But I want it to quit nicely. Is there anyway to put a breakpoint somewhere to see if it is where the problem lies. But where? Where in a RB project does quit
be handled?




Lots of events fire on Quit, including the Close events of controls, but first check the window's CancelClose and Close events, assuming you have code therein. If no luck there, check the windows Paint event.

-Jack

_______________________________________________
______________________________
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>


_______________________________________________
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