The Window Closer X
#5
(02-08-2023, 06:58 PM)Ron Wrote: Anyway one of my users asked me to disable the X on closing the program because they didn't want it to close in the middle of what they were doing so I put in the the command 'ex = _EXIT'. ...

Welcome to the forums.

I have indicated the sentence of the quotation which is a cause for concern. Writing programs for somebody else, eh? This other person must hate icons and toolbars. The program could close out of a memory leak, hardware problem or power outage, and then I wouldn't want to deal with the reaction to that.

The user could also press [CTRL][ALT][DELETE] "in the middle of what they were doing", IJS. But I'm just babbling and paranoid. Arrow

I'm just curious: could you give away even a little bit what you're trying to do with "_EXIT" and "ON... KEY"? I don't recommend "ON... KEY GOSUB/GOTO" because at keypress it could totally interrupt a critical operation being performed. However it's annoying having to put "KEY() STOP" before that operation, finish the operation and then "KEY() ON".
Reply


Messages In This Thread
The Window Closer X - by Ron - 02-08-2023, 06:58 PM
RE: The Window Closer X - by Kernelpanic - 02-08-2023, 07:27 PM
RE: The Window Closer X - by bplus - 02-08-2023, 07:28 PM
RE: The Window Closer X - by Ron - 02-08-2023, 08:34 PM
RE: The Window Closer X - by SpriggsySpriggs - 02-08-2023, 07:40 PM
RE: The Window Closer X - by mnrvovrfc - 02-08-2023, 08:34 PM
RE: The Window Closer X - by Ron - 02-08-2023, 09:26 PM
RE: The Window Closer X - by SMcNeill - 02-08-2023, 09:47 PM



Users browsing this thread: 1 Guest(s)