TdxDockingController.LoadLayoutFromRegistry(string,TCustomForm) Method
Loads the layout of dock controls stored at the specified registry path.
Declaration
procedure LoadLayoutFromRegistry(ARegistryPath: string; AForm: TCustomForm = nil);
Parameters
Name | Type |
---|---|
ARegistryPath | string |
AForm | TCustomForm |
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.
The method’s AForm parameter is optional. If omitted or set to nil, this method restores the layout of all dock controls whose settings are stored within the specified file. To restore the layout of dock controls that belong to a particular form, pass the desired form as this parameter.