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.LoadFromRegistry(string,Boolean) Method

Loads the control’s layout stored at the specified registry path.

#Declaration

Delphi
procedure LoadFromRegistry(ARegistryPath: string; LoadStyles: Boolean = True);

#Parameters

Name Type
ARegistryPath string
LoadStyles Boolean

#Remarks

Use the LoadFromRegistry method to load settings from the specified registry path. The settings must have been saved to this path using the SaveToRegistry method.

The ARegistryPath parameter specifies the registry path containing the settings to load. If this path doesn’t exist or doesn’t contain NavBar settings, the LoadFromRegistry method does nothing. The LoadStyles parameter specifies whether to load style settings. It is optional and defaults to True. Note: if style settings haven’t been saved by the SaveToRegistry method call, the LoadStyles parameter is ignored.

If storing settings within the registry doesn’t suit your needs, refer to the SaveToIniFile and SaveToStream methods.

See Also