[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

TCustomSpeedButton.MouseInControl

Returns True if the mouse pointer is in the display area for the control.

Declaration

Source position: buttons.pp line 395

protected property TCustomSpeedButton.MouseInControl : Boolean
  read FMouseInControl;

Description

The property value is updated in the MouseEnter and MouseLeave methods when the mouse pointer enters or leaves the control area. The property value is used in the UpdateState method to determine if the button control is drawn using the "up" or "hot" states. It is used in the GetDrawDetails method to selected the theme element detail needed to draw the control in its current state.

See also

TCustomSpeedButton.MouseEnter

  

Signals the OnMouseEnter event handler (when assigned).

TCustomSpeedButton.MouseLeave

  

Signals the OnMouseLeave event handler (when assigned).

TCustomSpeedButton.UpdateState

  

Updates internal members used to track state changes in the control.

TCustomSpeedButton.GetDrawDetails

  

Gets the theme element details used to draw the control.


Version 3.2 Generated 2024-02-25 Home