` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Locking out ESC key
2000-06-09 -- Jim Kane
 
> When you are in a Form, Browse, or Window, pressing the Esc key blows you > out of the procedure. This is catastrophic if you have a parent record not > saves and child records in a browse on the window. So what is the best way > to lock out the esc key? I have in the past been alerting the esc key to say > F12. This does it, but there should be a better way to do it. > There is! Define a local variable, OkToClose byte(0) In event:closewindow put if ~OkToClose then cycle. You could add an error message to the cycle if you wanted.


Today is May 4, 2024, 8:39 pm
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: