disabling_20the_20close_20button
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
disabling_20the_20close_20button [2018/03/31 13:19] – external edit 127.0.0.1 | disabling_20the_20close_20button [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Disabling the close button===== | =====Disabling the close button===== | ||
- | //by Richard Russell, August 2008//\\ \\ It is easy enough to make the close button (in the top-right corner of the window) ineffective, | + | //by Richard Russell, August 2008//\\ \\ It is easy enough to make the close button (in the top-right corner of the window) ineffective, |
+ | |||
+ | <code bb4w> | ||
ON CLOSE RETURN | ON CLOSE RETURN | ||
- | This results in the button being ignored. However there may be occasions when you actually want to disable the close button, and indicate that it is disabled by it being ' | + | </ |
+ | |||
+ | This results in the button being ignored. However there may be occasions when you actually want to disable the close button, and indicate that it is disabled by it being ' | ||
+ | |||
+ | <code bb4w> | ||
SC_CLOSE = &F060 | SC_CLOSE = &F060 | ||
SYS " | SYS " | ||
SYS " | SYS " | ||
- | When you want to enable the button again execute the following code:\\ \\ | + | </ |
+ | |||
+ | When you want to enable the button again execute the following code: | ||
+ | |||
+ | <code bb4w> | ||
SC_CLOSE = &F060 | SC_CLOSE = &F060 | ||
SYS " | SYS " | ||
SYS " | SYS " | ||
+ | </ | ||
+ | |||
Note that whereas "ON CLOSE RETURN" | Note that whereas "ON CLOSE RETURN" |
disabling_20the_20close_20button.1522502355.txt.gz · Last modified: 2024/01/05 00:18 (external edit)