Sign in Join
FPDoc Onlineexperiment

TControl.SetParentComponent procedure

Member of TControlprotectedIn unit Controls

Sets the value in the Parent property when the new parent component is a TWinControl instance.

Declaration

pascal
procedure SetParentComponent(NewParentComponent: TComponent); override

Description

Implements the dynamic method inherited from TComponent. When NewParentComponent is derived from TWinControl, the SetParent method is called to re-parent, position, and resize the control.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.