Skip to main content

TdxCustomLayoutControl.SaveToIniFile(string,Boolean) Method

Saves layout group/item settings to an INI file.

Declaration

procedure SaveToIniFile(const AFileName: string; ARecreate: Boolean = True);

Parameters

Name Type Description
AFileName string

The full absolute or relative path to the target INI file.

ARecreate Boolean

Optional. Specifies if the procedure recreates the target INI file if it already exists.

True
Default. The procedure deletes the target INI file if it exists and creates a new file with the same name.
False
The procedure adds new information to the end of the target INI file (if it exists).

Remarks

Call the SaveToIniFile procedure to save layout group and item settings to an INI file.

To save the Layout control state to an external source defined in the OptionsStoring property, call the Store procedure.

See Also