Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.MouseInControl property

Member of TCustomSpeedButtonprotectedIn unit Buttons

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.