Skip to main content

TcxPropertiesStoreComponent.StoreToIniFile(string,Boolean) Method

Saves the current component’s properties to an INI file.

Declaration

procedure StoreToIniFile(const AStorageName: string; const AReCreate: Boolean);

Parameters

Name Type
AStorageName string
AReCreate Boolean

Remarks

Use this method to save the properties of the component specified by the Component property to an INI file. The properties to store are specified by the Properties list.

You can call the StoreToIniFile method even if the StorageType of the current TcxPropertiesStore instance is not set to stIniFile.

The AStorageName parameter specifies the name and the path to the INI file used as the storage. The AReCreate parameter determines whether the INI file is deleted and created again with each call to this method. If this parameter value is False, information is appended to the end of the existing file.

See Also