Sign in Join
FPDoc Onlineexperiment

TComponent.GetChildParent function

Member of TComponentprotectedIn unit Classes

Returns the parent of any children.

Declaration

pascal
function GetChildParent: TComponent; dynamic

Description

GetChildParent returns the parent component of the child components being streamed. The parent property is a visual property, which is not always meaningful. If there is no parent component, the owner of child components that are streamed is returned. If Nil is returned, then the root component of the streaming operation is assumed. The TComponent implementation of this method returns Self.

Application programmers should not call this method, it is called automatically by the streaming mechanism.

See also

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