Contents - Index - Previous - Next


OnMouseDown event



Applies to
TProfGrid component

Declaration
property OnMouseDown: TMouseEvent;

Description

Occurs when the user presses a mouse button with the mouse pointer over the grid.

Use the OnMouseDown event handler to implement any special processing that should occur as a result of pressing a mouse button. The OnMouseDown event handler can respond to left, right, or center mouse button presses and shift key plus mouse-button combinations.

Use the Shift parameter to determine the state of the shift keys and mouse buttons. The X and Y parameters are the pixel coordinates of the mouse pointer in the client area of the grid.