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

TdxCustomNavBar.SaveToIniFile(string,Boolean) Method

Saves the control layout within the INI file specified.

#Declaration

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

#Parameters

Name Type
AFileName string
SaveStyles Boolean

#Remarks

Use the SaveToIniFile method to store the control’s settings to an INI file. The target file is specified by the AFileName parameter. If this file doesn’t exist, it is created. If it cannot be created (e.g. it is in use by another process or the name is set incorrectly), an exception is raised. The SaveStyles parameter specifies whether style settings are to be saved. It is optional and defaults to True.

You can restore the settings saved by the SaveToIniFile method by using the LoadFromIniFile method.

You can also save the control’s settings into a registry path or a stream. Please refer to the SaveToRegistry and SaveToStream methods description for details.

See Also