` 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: Trapping Esc key and preventing window exit
1999-11-07 -- Steve Parker
 
In a window template procedure: Alert the EscKey (you will have to manually type its name in). Then, in Window Event Handling for the Alert key: If KeyCode() = EscKey Message('You must select a pricing action.','Warning',Icon:Hand) Select(1) Cycle Return Level:Notify End will prevent the user from closing the window on the Esc key.


Today is April 28, 2024, 3:32 am
This article has been viewed 35109 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: