Back to Devexpress

TdxDockingManager.LoadLayoutFromIniFile(string) Method

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

latest2.1 KB
Original Source

TdxDockingManager.LoadLayoutFromIniFile(string) Method

Loads the layout of dock controls from the specified file.

Declaration

delphi
procedure LoadLayoutFromIniFile(AFileName: string);

Parameters

NameType
AFileNamestring

Remarks

Use the LoadLayoutFromIniFile method to restore the layout of dock controls from a file created using the SaveLayoutToIniFile method call. The file is specified by its name and path via the AFileName parameter. If the specified file doesn’t exist or is in use by another process, an exception is raised. If the file doesn’t contain dock controls layout information, all dock panels become undocked. Please refer to the dock control’s UnDock method description for details on undocking controls.

Note

the LoadLayoutFromIniFile 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 LoadLayoutFromIniFile method.

See Also

TdxDockingManager.LoadLayoutFromRegistry

TdxDockingManager.LoadLayoutFromStream

TdxDockingManager.SaveLayoutToIniFile

TdxDockingManager Class

TdxDockingManager Members

dxDockControl Unit