Mouse Down Event
Mouse Down triggers a procedure or calls a script when the left mouse button is clicked down.
Note: This event also occurs when a user presses Enter on the keyboard.
Field | Description | ||||||
---|---|---|---|---|---|---|---|
A | Action | Contains a drop-down list of existing procedures and scripts. Use either of the following. | |||||
Procedure | |||||||
Script | |||||||
B | Parameter | Can be used if the event invokes a script directly or through a procedure. The default code begins as follows. Sub OnMouseDown(x As Long, y As Long, flags As Long) Where parameters are: | |||||
x | |||||||
y | |||||||
flags | |||||||
C | 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.
|