help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

InitInheritedComponent

Initializes a component descending from RootAncestor

Declaration

Source position: classesh.inc line 1657

function InitInheritedComponent(

  Instance: TComponent;

  RootAncestor: TClass

):Boolean;

Description

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 descendent. 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

ReadComponentRes

  

Read component properties from a resource in the current module

ReadComponentResEx

  

Read component properties from a resource in the specified module

ReadComponentResFile

  

Read component properties from a specified resource file

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505