Skip to main content

TdxDockingController.SaveLayoutToRegistry(string,TCustomForm) Method

Saves the dock controls layout to the specified registry path.

Declaration

procedure SaveLayoutToRegistry(ARegistryPath: string; AForm: TCustomForm = nil);

Parameters

Name Type
ARegistryPath string
AForm TCustomForm

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).

The AForm parameter is optional. If omitted or set to nil, the method saves the layout of all dock controls in the application. To save the layout of dock controls residing on a particular form, pass the desired form as this parameter.

The saved dock controls layout can be restored using the LoadLayoutFromRegistry method.

See Also