| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Write component properties to a specified resource file
Source position: classesh.inc line 2157
| procedure WriteComponentResFile( | 
| const FileName: string; | 
| Instance: TComponent | 
| ); | 
WriteComponentResFile starts writing properties of Instance to the file FileName. It creates a filestream from FileName and then calls TStream.WriteComponentRes method to write the state of the component to the stream.
| 
 | Write resource header and component data to a stream | |
| 
 | Read component properties from a specified resource file |