Skip to main content

TcxControl.OnMouseEnter Event

Occurs when the mouse pointer enters into the control.

Declaration

property OnMouseEnter: TNotifyEvent read; write;

Remarks

Handle this event to perform specific actions in response to moving the mouse pointer into the control’s bounds. For instance, you can handle both the OnMouseEnter and OnMouseLeave events to change the control’s appearance (such as font, background color, border width, etc.) while the mouse pointer is within the control.

See Also