This event is generated when the mouse button is pressed inside the Magnifier.
[C++Builder] imagekitcontrolnameMagnifierMouseDown(TObject
*Sender, TMouseButton Button, TShiftState Shift, int X, int
Y)
[Delphi] imagekitcontrolnameMagnifierMouseDown(Sender:
TObject; Button: TMouseButton; Shift: TShiftState; X, Y:
Integer)
Parameters
Name | Explanation |
---|---|
Button | The type of button clicked mbLeft: Left Button mbRight: Right Button mbMiddle: Middle Button |
Shift | The state of the key or mouse button ssShift: Shift key is pressed ssAlt: Alt key is pressed ssCtrl: Ctrl key is pressed ssLeft: Left mouse button is pressed ssRight: Right mouse button is pressed ssMiddle: Middle mouse button is pressed ssDouble: Mouse has been double clicked |
x, y | The coordinates for the center of the Magnifier (in pixels) |
Explanation
The MagnifierMouseDown event is generated when the mouse
button is pressed inside the Magnifier.
For more information about the TMouseButton type and the
TShiftState type, please refer to the Delphi or C++Builder help
documentation.
Differences from ImageKit7/8/9/10 ActiveX
The Button parameter has been changed to the TMouseButton
type
The Shift parameter has been changed to the TShiftState type