Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]


Initializes a component descending from RootAncestor.


Source position: classesh.inc line 2491

function InitInheritedComponent(

  Instance: TComponent;

  RootAncestor: TClass



InitInheritedComponent should be called from a constructor to read properties of the component Instance from the streaming system. The RootAncestor class is the root class from which Instance is a descendant. This must be one of TDatamodule, TCustomForm or TFrame.

The function returns True if the properties were successfully read from a stream or False if some error occurred.

See also



Read component properties from a resource in the current module.



Read component properties from a resource in the specified module.



Read component properties from a specified resource file.

Documentation generated on: Jul 24 2023