Sign in Join
FPDoc Onlineexperiment

TComponent.GetParentComponent function

Member of TComponentpublicIn unit Classes

Returns the parent component.

Declaration

pascal
function GetParentComponent: TComponent; dynamic

Description

GetParentComponent can be implemented to return the parent component of this component. The implementation of this method in TComponent always returns Nil. Descendant classes must override this method to return the visual parent of the component.

See also

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