Skip to main content

[archive] Disabling Exit X

  • January 24, 2008
  • 9 replies
  • 0 views

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:

9 replies

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
In your configuration file, you can set the QUIT_MODE to -2 and it will disable the close button on the main application window.

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
In your configuration file, you can set the QUIT_MODE to -2 and it will disable the close button on the main application window.

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
Is it possible to disable it on a floating screen?

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
Is it possible to disable it on a floating screen?

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
You can set the System Menu property for the screen to False.
That will make the close button not appear on the caption bar.
I don't know of a way to have the close button show on a floating window and be disabled.

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
Thanks!:cool:

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
Thanks!:cool:

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
If the X is showing you can still disable it by doing the following...

In the event for the screen, set a msg-close procedure. For my example - Process-Msg-Close (note, must be msg-close, not cmd-close)

Process-Msg-Close.
set event-action to event-action-fail.

Best of Luck, Mike

[Migrated content. Thread originally posted on 23 January 2008]

Hello
Is it possible to programmatically disable the exit button 'X' on the top right corner of your screen?

Thanks:confused:
If the X is showing you can still disable it by doing the following...

In the event for the screen, set a msg-close procedure. For my example - Process-Msg-Close (note, must be msg-close, not cmd-close)

Process-Msg-Close.
set event-action to event-action-fail.

Best of Luck, Mike