Sign in Join
FPDoc Onlineexperiment

TControl.ControlState property

Member of TControlpublicIn unit Controls

Contains state flags which indicate whether the control has been clicked, data is being read, or the control is being re-drawn, etc.

Declaration

pascal
property ControlState: TControlState read FControlState write FControlState;

Description

ControlState is a TControlState property which contains flags that indicate when actions are detected or handled for the control. It is a set type which contains zero or more values from the TControlStateType enumeration.

Values are added to the property when an event is detected. Values are removed from the property in methods which handle the event by performing some action on the control.

For more information about the values in the enumeration and their uses and meanings, please refer to TControlStateType.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.