IFormControl.LoadState

Syntax

LoadState(SectionName: String);

Parameters

SectionName. Name of the registry section, from which the parameters of the toolbars, popup panels and form main menu should be loaded. The name must consist of one or more words and contain characters that can be used in the Windows registry.

Description

The LoadState method loads parameters of the form controls from the registry.

Comments

The SectionName section is searched for in the following registry key: [HKEY_CURRENT_USER\Software\Foresight\Foresight Analytics Platform\10.0\<version of Foresight Analytics Platform>\Studio.INI\<repository name>\]. If the specified section is not present in this branch, the settings are not loaded.

The following data is loaded from the registry:

See also:

IFormControl | IFormControl.SaveState | IControlBar.Id | IToolbar.Id