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

TdxBarManager.StoreInIniFile Property

Specifies whether the current bar manager’s settings should be stored in an INI file.

#Declaration

Delphi
property StoreInIniFile: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

When a bar manager is destroyed or created, its settings can be saved to or restored from the INI file specified by the INIFileName property, if the StoreInIniFile property is set to True. Refer to the description of the SaveToIniFile method for details on which bar manager’s settings are saved to/restored from an INI file.

Use this property to preserve bar layout between application runs.

If you don’t want to store the bar manager’s settings in an INI file, you can store them in the registry. To do so, set the StoreInRegistry property to True and specify the registry path using the RegistryPath property.

If you need to save and restore a bar manager’s settings at specific points in a program, you can do so by manually calling the SaveToRegistry, LoadFromRegistry, SaveToIniFile LoadFromIniFile, SaveToStream and LoadFromStream methods. For instance, in MDI applications you can call the SaveToIniFile method from the OnClose event handler of the child form to save the settings of its bar manager.

See Also