TSizeConstraints.Create constructor
Constructor for the class instance.
Declaration
constructor Create(AControl: TControl); virtualArguments
AControl | TControl instance where the size constraints are implemented. |
Description
Create is the constructor for the class instance, and calls the
inherited constructor on entry. Create sets the default values for properties
including:
- MaxHeight (0)
- MaxWidth (0)
- MinHeight (0)
- MinWidth (0)
It also sets the value in the Control property to the associated control specified in the AControl argument.
Create calls the UpdateInterfaceConstraints method to ensure that size constraints from the Control are applied to the widgetset class instance when Control is a TWinControl instance and its handle has been allocated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
