TdxDockingManager.LoadLayoutFromRegistry(string) Method
Loads the layout of dock controls stored at the specified registry path.
Declaration
procedure LoadLayoutFromRegistry(ARegistryPath: string);
Parameters
Name | Type |
---|---|
ARegistryPath | string |
Remarks
Use the LoadLayoutFromRegistry method to restore the layout of dock controls previously saved to a specific path in the registry using the SaveLayoutToRegistry method call. The source registry path is specified by the ARegistryPath parameter. If the specified path doesn’t exist or doesn’t contain dock controls layout settings, all dock panels become undocked. Please refer to the dock control’s UnDock method description for details on undocking panels.
Note
the LoadLayoutFromRegistry method loads setting only for the controls which reside on the same form as the docking manager. If the file contains settings for other controls these settings are ignored. To load the layout of all dock controls in the application, use the docking controller’s LoadLayoutFromRegistry method.