RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStream.WriteDescendentRes Method

Streams components and their properties in inherited forms.

Pascal
procedure WriteDescendentRes(const ResName: string; Instance: TComponent; Ancestor: TComponent);
C++
__fastcall WriteDescendentRes(const AnsiString ResName, TComponent * Instance, TComponent * Ancestor);

Do not call WriteDescendentRes directly. WriteDescendentRes is called automatically by WriteComponentRes

WriteDescendentRes writes a resource-file header to the stream, using the resource name passed in ResName as the name of the resource. It then calls WriteDescendent to write Instance to the stream as a descendant of Ancestor. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!