Provides settings used to resize and align child controls using a tabular layout.
Source position: controls.pp line 2326
public property TWinControl.ChildSizing : TControlChildSizing |
ChildSizing is a TControlChildSizing property which contains properties and methods used to resize and layout the child controls on a control instance. ChildSizing provides an alternative to using Anchors and Align properties to position and resize child controls. It allows a dynamic tabular (or matrix) layout to be applied to its child Controls.
Use the Layout property to specify both the order and direction child controls are aligned, and which algorithm is used to size and position child controls. Values in ChildSizing are used and applied when its Layout property is set to a value other than cclNone.
See TControlChildSizing for more detailed information about the properties and methods in the class instance.
Additional information about child sizing and layout can be found on the Typhon Wiki at:
Autosize / Layout (https://wiki.lazarus.freepascal.org/Autosize_/_Layout)
LCL AutoSizing (https://wiki.lazarus.freepascal.org/LCL_AutoSizing)
Implementation refactored in LCL version 4.0. This may result in behavior that differs from previous LCL versions.
|
The number of child controls in the Controls property. |
|
|
Provides indexed access to the child controls for the class instance. |
|
|
Repositions and resizes the control and child controls. |
|
|
Override this method when the ClientRect for a control differs from the default value. |
|
|
Called after a change in ChildSizing information to trigger further processing. |
|
|
Flags the preferred sizes of all child controls as invalid (recursively). |
|
|
Specifies the placement of the control on its Parent control. |
|
|
The set of anchor definitions for this control. |
|
|
Contains settings which determine how child controls are sized and positioned on their parent. |
CT Web help |
CodeTyphon Studio |