TiComponent.SavePropertiesToFile

TiComponent See Also

Streams out all component properties to a text file.

procedure SavePropertiesToFile(FileName: String);

Description

Call SavePropertiesToFile to stream out all of the properties of the component to a file.

This file is in a proprietary text format and is generally used to save component settings for later reloading by the LoadPropertiesFromFile method.

Example

Delphi

iComponent.SavePropertiesToFile('C:\TextFile.txt'); //Save Properties

Kylix

iComponent.SavePropertiesToFile('/home/username/textfile'); //Save Properties

C++ Builder

iComponent->SavePropertiesToFile("C:\TextFile.txt"); //Save Properties

Contents | Index | Previous | Next