TdxCustomNavBar.LoadFromRegistry(string,Boolean) Method
Loads the control’s layout stored at the specified registry path.
Declaration
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.