Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomLayoutControl.SaveToIniFile(string,Boolean) Method

Saves ExpressLayout Control group/item settings to an INI file.

#Declaration

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

#Parameters

Name Type
AFileName string
ARecreate Boolean

#Remarks

Use the SaveToIniFile method to save ExpressLayout Control group and item settings. This method allows you to save information to an INI file.

AFileName specifies the name of the INI file wherein to store settings; the ‘ini’ extension is not automatically added to the file name. To store settings in an INI file, the control’s OptionsStoring.StoreToIniFile property must be set to True.

ARecreate specifies whether the INI file is deleted and created again with each call to this method. If ARecreate is False, information is appended to the existing file.

To persist settings in an .INI file, the system registry and a stream simultaneously, use the Store method.

See Also