ImageGear Professional v18.2 > API Reference Guide > GUI Component API Reference > GUI Component Objects > IGGUIPaletteCtl Control > IGGUIPaletteCtl Events > MouseDown Event |
Occurs when the user presses a mouse button while the cursor is over the IGGUIPaletteCtl Control.
Sub IGGUIPaletteCtl_MouseDown(Button As Integer, Shift As
Integer, x As Single, y As Single)
Name | Description |
---|---|
Button | Indicates which button was pressed: 1 (vbLeftButton) - left mouse button 2 (vbRightButton) - right mouse button 4 (vbMiddleButton) - middle mouse button |
Shift | Indicates whether any keyboard keys were pressed at the same time: 1 (vbShiftMask) - Shift Key 2 (vbCtrlMask) - Ctrl key 4 (vbAltMask) - Alt key |
x | X coordinate of where the mouse down event occurred. For VB application, this will be in "twips" - for all other environments, this will be in pixels. |
y | Y coordinate of where the mouse down event occurred. For VB application, this will be in "twips" - for all other environments, this will be in pixels. |