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

TControlFlags

Set type used to store values from the TControlFlag enumeration.

Declaration

Source position: controls.pp line 1039

type TControlFlags = set of (

  cfLoading,

  

Set by TControl.ReadState, and unset by TControl.Loaded when all controls for the form have finished loading.

  cfAutoSizeNeeded,

  

Set when AutoSize was delayed.

  cfLeftLoaded,

  

Set when Left was set during loading.

  cfTopLoaded,

  

Set when Top was set during loading.

  cfWidthLoaded,

  

Set when Width was set during loading.

  cfHeightLoaded,

  

Set when Height was set during loading.

  cfClientWidthLoaded,

  

Set when ClientWidth was set during loading.

  cfClientHeightLoaded,

  

Set when ClientHeight was set during loading.

  cfBoundsRectForNewParentValid,

  

Set when BoundsRectForNewParent has been initialized.

  cfBaseBoundsValid,

  

Indicates if the rectangle in the base bounds for a control is valid.

  cfPreferredSizeValid,

  

Set when PreferredSize has been calculated (CalculatePreferredSize).

  cfPreferredMinSizeValid,

  

Set when PreferredSize has been calculated (CalculatePreferredSize) for the minimum height and width for a control.

  cfOnChangeBoundsNeeded,

  

Set when the BoundsRect for a control has been changed and the host has not been updated.

  cfProcessingWMPaint,

  

Set (in WndProc) while processing an LM_PAINT message.

  cfKillChangeBounds,

  

Set when a control is auto-sized. Used to prevent recursive calls when a control, its Parent, or its Children are auto-sized.

  cfKillInvalidatePreferredSize,

  

Set when a control is auto-sized. Used to prevent recursive calls when a control, its Parent, or its Children call their InvalidatePreferredSize methods.

  cfKillAdjustSize

  

Set when a control is auto-sized. Used to prevent recursive calls when a control, its Parent, or its Children call their AdjustSize methods.

);

See also

TControlFlag

  

Flags values used mostly for pending actions in a control.


Version 3.2 Generated 2024-02-25 Home