TdxDockingManager.SaveLayoutToRegistry(string) Method
Saves the dock controls layout to the specified registry path.
Declaration
procedure SaveLayoutToRegistry(ARegistryPath: string);
Parameters
Name | Type |
---|---|
ARegistryPath | string |
Remarks
Use the SaveLayoutToRegistry method to save the layout of dock controls to a specific registry path. The target registry path is specified by the ARegistryPath parameter. This is the sub path for the system’s registry root key (HKEY_CURRENT_USER by default).
Settings saved by the SaveLayoutToRegistry method call can be restored using the LoadLayoutFromRegistry method. If storing settings within the registry doesn’t suit your needs, use either the SaveLayoutToIniFile or SaveLayoutToStream methods.
Note
the SaveLayoutToRegistry method saves the settings for dock controls which reside on the same form as the docking manager. To save the dock controls layout for all forms in an application, use the docking controller’s SaveLayoutToRegistry method instead.