Skip to main content

TdxCustomNavBar.SaveToRegistry(string,Boolean) Method

Saves the control layout to the specified registry path.

Declaration

procedure SaveToRegistry(ARegistryPath: string; SaveStyles: Boolean = True);

Parameters

Name Type
ARegistryPath string
SaveStyles Boolean

Remarks

Use the SaveToRegistry method to save the control’s settings to the registry path specified by the ARegistryPath parameter. If the specified path is an empty string, the SaveToRegistry method does nothing. The SaveStyles parameter specifies whether to store style settings. It is optional and defaults to True.

The settings saved by the SaveToRegistry method can be restored using the LoadFromRegistry method.

You can also save the control’s settings to an INI file or to a stream. Please refer to the SaveToIniFile and SaveToStream method descriptions for details.

See Also