TControlFlag enumeration
Flags values used mostly for pending actions in a control.
Declaration
TControlFlag = (cfLoading,cfAutoSizeNeeded,cfLeftLoaded,cfTopLoaded,
cfWidthLoaded,cfHeightLoaded,cfClientWidthLoaded,
cfClientHeightLoaded,cfBoundsRectForNewParentValid,
cfBaseBoundsValid,cfPreferredSizeValid,
cfPreferredMinSizeValid,cfOnChangeBoundsNeeded,
cfProcessingWMPaint,cfKillChangeBounds,
cfKillInvalidatePreferredSize,cfKillAdjustSize)Description
Nothing more than the line above yet.
Values
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. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
