Sign in Join
FPDoc Onlineexperiment

TPairSplitterSide.SetParent procedure

Member of TPairSplitterSideprotectedIn unit PairSplitter

Sets the value for the Parent property.

Declaration

pascal
procedure SetParent(AParent: TWinControl); override

Arguments

AParent

New value for the Parent property.

Description

SetParent is an overridden procedure used to set the value in the Parent property. SetParent is the re-implemented write access specifier for the Parent property.

SetParent ensures that the control is removed from the Sides property in the existing Parent prior to setting the new value for the property. SetParent calls the inherited method to handle the Bounds and AutoSizing for the control.

If the new Parent is not Nil, the private AddSide method in the TPairSplitter instance is called to add the current control.

See also

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