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

# TWinControlFlags

Set type used to store TWinControlFlag enumeration values.

## Declaration

Source position: controls.pp line 2035

`type TWinControlFlags = set of (`
`wcfClientRectNeedsUpdate,` |  | Client rectangle has been invalidated and needs to be updated.
`wcfColorChanged,` |  | The Color property in s control has been changed.
`wcfFontChanged,` |  | Set when the font was changed before handle creation.
`wcfAllAutoSizing,` |  | Set during DoAllAutosize.
`wcfAligningControls,` |  | Set when the AlignControls method is called.
`wcfEraseBackground,` |  | Set in the method Paint before the LM_ERASEBKGND message is performed.
`wcfCreatingHandle,` |  | Set while constructing the handle of this control.
`wcfInitializing,` |  | Set while initializing during handle creation.
`wcfCreatingChildHandles,` |  | Set while constructing the handles of the children.
`wcfRealizingBounds,` |  | Set inside RealizeBoundsRecursive.
`wcfBoundsRealized,` |  | Set before bounds are sent to the widget; used to suppress subsequent size messages sent by the widget.
`wcfUpdateShowing,` |  | Set before a visible control and its children are updated during auto-sizing.
`wcfHandleVisible,` |  | Set when a control is visible and not obscured on its parent.
`wcfAdjustedLogicalClientRectValid,` |  | Set when the adjusted ClientRect is valid.
`wcfKillIntfSetBounds,` |  | Set when the LCL interface has already called SetBounds during size and move operations. Prevents a loop.
`wcfDesignerDeleting,` |  | Only used for TCustomPairSplitter / TPairSplitter.
`wcfSpecialSubControl`
`);`

## Description

TWinControlFlags is a set type used to store zero (0) or more values from the TWinControlFlag enumeration. TWinControlFlags is the type used to implement an internal member in TWinControl. Values are added to and removed from the set as needed in TWinControl methods.

## See also

TWinControlFlag |  | State flags of TWinControl.
TWinControl |  | Implements a windowed control which can contain other child controls.