Back to Devexpress

TdxDockingManager.LoadLayoutFromRegistry(string) Method

vcl-dxdockcontrol-dot-tdxdockingmanager-dot-loadlayoutfromregistry-x28-system-dot-string-x29.md

latest2.0 KB
Original Source

TdxDockingManager.LoadLayoutFromRegistry(string) Method

Loads the layout of dock controls stored at the specified registry path.

Declaration

delphi
procedure LoadLayoutFromRegistry(ARegistryPath: string);

Parameters

NameType
ARegistryPathstring

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.

See Also

TdxDockingManager.LoadLayoutFromIniFile

TdxDockingManager.LoadLayoutFromStream

TdxDockingManager.SaveLayoutToRegistry

TdxDockingManager Class

TdxDockingManager Members

dxDockControl Unit