Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease 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!
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 November 23, 2024, 2:03 am This article has been viewed 35207 times.
|
|