Event: EventMouseDown

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

Triggers when the left mouse button or the right mouse button is pressed in user dialog boxes.

EventMouseDown(ByRef This, Button, Shift, X, Y)
This Object that triggers this event.
Button 1: Left mouse button
2: Right mouse button
Shift 0: No key
1: Shift key
2: Control key
X, Y Dialog coordinates of the selected point

In the following example, clicking triggers a message:

Sub Dialog_EventMouseDown(ByRef This, Button, Shift, X, Y)
  Call MsgBoxDisp("Mouse button pressed at X="& X &" Y="&Y)
End Sub

WAS THIS ARTICLE HELPFUL?

Not Helpful