Sign in Join
FPDoc Onlineexperiment

TCustomFrame.SetParent procedure

Member of TCustomFrameprotectedIn unit Forms

Sets the value for the Parent property.

Declaration

pascal
procedure SetParent(AParent: TWinControl); override

Arguments

AParent

New value for the Parent property.

Description

Updates the action list for child components or nested frames by calling AddActionList or RemoveActionList. Frees the Handle for the control when Parent has not already been assigned. Calls the inherited method to update the value in Parent. Performs automatic layout adjustments when the PixelsPerInch settings for the Parent and the frame instance have different value.

See also

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