Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
/img/help/home.gif

TStream.ReadComponent

TStream


Initiates streaming of components and their properties.

 

function ReadComponent(Instance: TComponent): TComponent;

 

Description

ReadComponent is called indirectly by the global routine ReadComponentRes, by the ReadComponentRes method, or it can be called directly to initiate component streaming.

 

ReadComponent reads data values from the stream and assigns them to Instance’s properties. It then constructs a reader object and calls the reader’s ReadRootComponent method to read Instance’s property values and construct child objects defined in the stream as children of the Instance. ReadComponent returns the component.

 

If Instance is nil, ReadComponent constructs a component based on the type information in the stream and returns the newly-constructed component.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 18, 2024