Key Down Event
Key Down triggers a procedure or calls a script when a predefined key is pressed down.
Field | Description | ||||
---|---|---|---|---|---|
A | Key | Press one key or a combination of keys within guidelines. The pressed key(s) will appear in the Key field. | |||
B | Action | Contains a drop-down list of existing procedures and scripts. Use either of the following. | |||
Procedure | |||||
Script | |||||
C | Parameter | Can be used if the event invokes a script directly or through a procedure. The default code begins as follows. Sub OnKeyDown(key As Integer) Where parameters are: | |||
key | |||||
D | Debounce event | Check | |||
Clear | |||||
Note: When debouncing is enabled, the event/action queue is always processed one action at a time; the current action must be completed before the next action can start.
This makes the queue's event/action sequencing predictable and avoids situations where many events could trigger actions and consume unacceptable levels of CPU and memory.
|
|||||