Skip to main content

TdxRibbonGalleryGroupItem.OnMouseDown Event

Occurs when an end-user presses a mouse button and the mouse pointer is located over the current gallery item.

Declaration

property OnMouseDown: TMouseEvent read; write;

Remarks

This event is fired in response to clicking the gallery item that is currently enabled.

The Sender parameter provides access to the gallery item.

The Button parameter identifies the mouse button being pressed.

The Shift parameter determines the state of the Alt, Ctrl, and Shift keys and the state of the mouse buttons.

The X and Y parameters are the coordinates of the mouse pointer within the gallery item.

To perform specific actions when an end-user releases a mouse button, handle the OnMouseUp event.

See Also