If I click on the red X on the upper right hand portion of the window, I am prompted to save an unsaved changes before the app closes.
If I call the following code when I click a button on the screen then the entire app shuts down with no prompting
Application.exit();
I thought the above was supposed to do what I needed. Am I missing something or is there something else I should be using???
Thanks,
Peter