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

# TControlAutoSizePhase

Represents AutoSizing phases for controls.

## Declaration

Source position: controls.pp line 992

`type TControlAutoSizePhase = (`
`caspNone,` |  |
`caspChangingProperties,` |  | Indicates propertied have been locked while auto-sizing is active.
`caspCreatingHandles,` |  | Create/Destroy handles.
`caspComputingBounds,` |  | Indicates that auto-sizing for a control and its child controls is being performed.
`caspRealizingBounds,` |  | Indicates that the wcfRealizingBounds flag is present in the control flags.
`caspShowing` |  | Makes a handle visible.
`);`

## Description

TControlAutoSizePhase is an enumerated type with values that represent phases or steps in the auto-sizing process for controls. Values from TControlAutoSizePhase are stored in the TControlAutoSizePhases set type.

## See also

TControlAutoSizePhases |  | Set type used to store values from the TControlAutoSizePhase enumeration.
TControl.AutoSizePhases |  | Auto-sizing phases enabled for the control.
TWinControl.AutoSizePhases |  | Translates control state flags into AutoSizePhases.