Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]


State flags of a Control.


Source position: controls.pp line 286

type TControlStateType = (



Indicates the Left mouse button was down for the control.



Indicates the control was clicked; occurs after button down/up processing.



Palettes are not currently implemented in LCL.



Indicates the ReadState method has been called for the control.



Indicates the focus for the control has been changed.



Introduced for Delphi compatibility; not used in LCL.



Indicates a device context was copied in PaintControls.



Indicates a custom paint method is used to draw the control; determines the handler called to paint the control.



Used to suppress message processing when the control is freed.



Indicates the Dock method has been called for a control.



Indicates the control is being loaded using the LCL component streaming mechanism.



TControlStateType is an enumeration type which contains values that represent state information for control class instances, including:

Values from the TControlStateType enumeration are stored in the TControlState type, and used to implement the ControlState property in TControl.

See also



Set of control states used in a control.



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

CT Web help

CodeTyphon Studio