Back to Devexpress

TdxCustomLayoutControl.SaveToIniFile(string,Boolean) Method

vcl-dxlayoutcontrol-dot-tdxcustomlayoutcontrol-dot-savetoinifile-x28-system-dot-string-system-dot-boolean-x29.md

latest2.0 KB
Original Source

TdxCustomLayoutControl.SaveToIniFile(string,Boolean) Method

Saves layout group/item settings to an INI file.

Declaration

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

Parameters

NameTypeDescription
AFileNamestring

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.FalseThe 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

TdxCustomLayoutControl.LoadFromIniFile Procedure

TdxCustomLayoutControl.LoadFromRegistry Procedure

TdxCustomLayoutControl.LoadFromStream Procedure

TdxCustomLayoutControl.SaveToRegistry Procedure

TdxCustomLayoutControl.SaveToStream Procedure

TdxCustomLayoutControl Class

TdxCustomLayoutControl Members

dxLayoutControl Unit