The Window Closer X
#1
Hello everyone,  I am using the QB64 for windows compatibility converted all the QB 4.5 to QB64 it has been working for 6 years now.  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'.  This works like it states you can't close the program with the X on the window.  Now to kill the program when it freezes they have to kill the process in windows.  Is there a why to use ON KEY to close it?  I have tried ON KEY(1) with a subroutine and GOSUB it will not do the code when I press F1 so somehow the ON KEY is not working for me. I am using QB64 Version 1.1 Revision 20170120/51 does it work in more recent versions and where do I find them now.   Alt + F4 should be what the Window close X button uses I think but maybe I am wrong.   

Is there anyone that may know something to help me or should I leave it the way it is.
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: 6 Guest(s)