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

# TControlAutoSizePhases

Set type used to store values from the TControlAutoSizePhase enumeration.

## Declaration

Source position: controls.pp line 1000

`type TControlAutoSizePhases = set of (`
`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.
`);`

## See also

TControlAutoSizePhase |  | Represents AutoSizing phases for controls.
TControl.AutoSizePhases |  | Auto-sizing phases enabled for the control.
TWinControl.AutoSizePhases |  | Translates control state flags into AutoSizePhases.
TWinControl.DoAutoSize |  | Shrinks or enlarges the control to accommodate its children.
TWinControl.UpdateShowing |  | Updates the Showing property with the visibility for the control, its Parents, and its child controls.
TWinControl.WMMove |  | Handler for widget moved message; updates the Bounds.
TWinControl.WMSize |  | Event handler for size messages.