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

# TSizeConstraints.UpdateInterfaceConstraints

Applies size constraints from the specified Control to the widgetset class instance.

## Declaration

Source position: controls.pp line 728

`public procedure TSizeConstraints.UpdateInterfaceConstraints; virtual;`

## Description

No actions are performed in the method if Control is not derived from TWinControl, or its handle has not been allocated. UpdateInterfaceConstraints is called from the Create constructor after setting default property values, and assigning the associated Control for the class instance.

## See also

TSizeConstraints.MaxHeight |  | The maximum height for the associated Control.
TSizeConstraints.MaxWidth |  | The maximum width for the associated Control.
TSizeConstraints.MinHeight |  | The minimum height for the associated Control.
TSizeConstraints.MinWidth |  | The minimum width for the associated Control.
TSizeConstraints.Control |  | The associated Control to which these constraints apply.
TSizeConstraints.Create |  | Constructor for the class instance.