![]() ![]() ![]() ![]() | Table Of Contents | Index |
Example:KeyEvents are attached to the current window. New windows inherit the KeyEvents from their parent window. But if you create a new KeyEvent in a window and then erase that window the new KeyEvent is erased and the KeyEvents of the parent window are restored. You can have completely different KeyEvents for each window and those events become active whenever the window becomes active.
KeyEvent(F1) = loc ShowHelp ;runs ShowHelp when F1 is pressed KeyEvent(F1) = Nil ;clears F1 key Run KeyEvent(F1) ;executes procedure assigned to F1
See Also: | ClearKeyEvents |
---|
Category: | Execution | Event |
---|
![]() ![]() ![]() ![]() | Table Of Contents | Index |
|