Sign in Join
FPDoc Onlineexperiment

TCustomSplitter.SetAlign procedure

Member of TCustomSplitterprotectedIn unit ExtCtrls

Sets the value for the Align property.

Declaration

pascal
procedure SetAlign(Value: TAlign); override

Arguments

Value

New value for the Align property.

Description

SetAlign is an overridden method in TCustomSplitter which sets the value for the Align property. It ensures that ResizeAnchor is updated to reflect the new value for the property. Values in Anchors are also updated to reflect the new alignment value in the property.

When Align has a value other than clClient and Anchors is not modified, the bounds for the control are adjusted to keep the existing Width or Height for the Align value.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.