[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TComponent.GetChildOwner

Returns the owner of any children.

Declaration

Source position: classesh.inc line 1604

protected function TComponent.GetChildOwner: TComponent; dynamic;

Description

GetChildOwner returns the owner of the children that are read from the stream. If the method returns Nil (the default) this means that streamed child components are owned by the root component of the streaming process (usually a Form or Datamodule)

Application programmers should not call GetChildOwner directly, it is called by the streaming system when needed.

See also

TComponent.WriteState

  

Writes the component to a stream.

TComponent.ReadState

  

Read the component's state from a stream.

TComponent.Owner

  

Owner of this component.

TComponent.GetChildParent

  

Returns the parent of any children.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.