Accusoft ImagXpress 13
MouseDown Event

Which mouse button had been clicked to create this event:

The shift key state when the event was generated:

These values may be combined.

The horizontal coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
The vertical coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
Description
Raised when the user presses down on a mouse button over the image.
Syntax
Visual Basic
Public Event MouseDown( _
   ByVal Button As Integer, _
   ByVal Shift As Integer, _
   ByVal x As Long, _
   ByVal y As Long _
)
Parameters
Button

Which mouse button had been clicked to create this event:

  • LeftButton (1)
  • RightButton (2)
  • MiddleButton (4)
Shift

The shift key state when the event was generated:

  • ShiftMask (1)
  • CtrlMask (2)
  • AltMask (4)

These values may be combined.

x
The horizontal coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
y
The vertical coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
Remarks

See Also

ImagXpress Object  | ImagXpress Members  | Window and Control

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback