TClrCustomControl.Align Property

Determines how the control aligns within its container (parent control).

Namespace: CNClrLib.Control.Base
 property Align;

Property Value

Type: Void


Use Align to align a control to the top, bottom, left, or right of a form or panel and have it remain there even if the size of the form, panel, or component that contains the control changes. When the parent is resized, an aligned control also resizes so that it continues to span the top, bottom, left, or right edge of the parent.