BeforeClick
EventBeforeClick (Event)
Occurs when the user presses and then releases a mouse button in the drawing
Syntax:
Private Sub object_BeforeClick(Sender As System.Object, e As BeforeClickEventArgs)
The BeforeClick event syntax has the following parts:
Argument |
Data Type |
Description |
Sender |
System.Object |
The object that raises the event |
e.Button |
Short |
Returns an integer that identifies the button that was pressed |
e.Shift |
Short |
Returns an integer that corresponds to the state of the SHIFT, CTRL, and ALT keys when the button specified in the button argument is pressed |
e.x |
Integer |
The coordinates x of the click's location |
e.y |
Integer |
The coordinates y of the click's location |
e.ClickType |
The command that is associated with the click |
|
e.fCancel |
Boolean |
This event trigger can be canceled by changing this parameter to true |