DesktopTreeView.MouseDown Event
This event is fired when the mouse button goes down on the control.

MouseDown(
x
as Integer,
y
as Integer,
isRightButton
as Boolean)
as Boolean
Parameters
- x
- The x coordinate of the mouse relative to the control.
- y
- The y coordinate of the mouse relative to the control.
- isRightButton
- This parameter is true if the click was the right mouse button.
Returns
- Boolean
Remarks
Use the NodeFromPoint to query which node or part was clicked.
The internal handling of MouseDown can be canceled by setting the CancelEventAction property to true.
Note:
On some platforms clicking on the scrollbar will not generate a mouse down event.
See Also
DesktopTreeView Control