THIS TIP IS FROM TIPRGMZ9K
TIP IS MOSTLY FOR BASIC PROGRAMS.
Ok. Want to prevent people from pressing the "break" button
accidently during a Dialog or Text session? Here's how:
Note: This requires FLIB. This disables the "break" key.
You should have a label, a Try statement, followed by FLIB's breakoff command.
Prgm Lbl x Try flib("breakoff") Dialog Title "Test" Text "You can't break me!" EndDlog Else Goto x EndTry Endprgm
It does not have to be Lbl x. This should prevent people from "breaking" the program and exiting the current program in session. This tip might not work all the time.
Credits to burr, he made everything here.