Author Topic: Quitting  (Read 1749 times)

carlk

  • Newbie
  • *
  • Posts: 13
Quitting
« on: January 21, 2011, 04:38:26 PM »
Why, when I quit my stand alone application, do I get an annoying message that says "Quitting" which I then have to dismiss by clicking on "OK" before it will quit?
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 397
  • Here to help you
Re: Quitting
« Reply #1 on: January 22, 2011, 06:03:02 AM »
Quote from: "carlk"
Why, when I quit my stand alone application, do I get an annoying message that says "Quitting" which I then have to dismiss by clicking on "OK" before it will quit?
This is because there is a message in the menu quit handler announcing that the Quit handler has been called.

The Menu Designer can be accessed via the menu Windows pulldown.
Once the Menu Designer has opened select the File and sub option Quit - then select the Script button to edit the handler's script.

By default it has the Quit command in it which saves the programs state automatically.
The QuitSave command overrides the default save option.

Code: [Select]
@ Quit and save state
QuitSave(1)


@ Quit and do not save state
QuitSave(0)
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

carlk

  • Newbie
  • *
  • Posts: 13
Re: Quitting
« Reply #2 on: January 22, 2011, 06:14:20 AM »
Thanks.  I hadn't really looked at the Menu Designer stuff yet, but I have just deleted the message.
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »