Login
`
Templates, Tools and Utilities
|
||
Icetips Article
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 21, 2024, 3:44 am This article has been viewed 35203 times.
|
|