IWorkbookConfigurationPanel.Context

Fore Syntax

Context: WbkConfigurationPanelContext;

Fore.NET Syntax

Context: Prognoz.Platform.Interop.Express.WbkConfigurationPanelContext;

Description

The Context property determines context displayed in the component.

Comments

Context is a set of tabs of the WorkbookConfigurationPanel component used to configure a part of the workbook.

Fore example

Executing the example requires a form with the following components:

  1. WorkbookConfigurationPanel with the WorkbookConfigurationPanel1 identifier.

  2. WorkbookDocumentViewerBox with the WorkbookDocumentViewerBox identifier.

  3. UiErAnalyzer with the UiErAnalyzer1 identifier. This component must contain loaded workbook of the time series database and be the source of data for WorkbookConfigurationPanel1 and WorkbookDocumentViewerBox components.

Sub UserProc;
Begin
    WorkbookConfigurationPanel1.Context := WbkConfigurationPanelContext.Factor;
End Sub UserProc;

After executing the example in the WorkbookConfigurationPanel1 component the context for the factor of calculated series will available.

Fore.NET example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Instead of Fore components use their Fore.NET analogs.

Imports Prognoz.Platform.Interop.Express;

Sub UserProc();
Begin
    workbookConfigurationPanelNet1.CtrlBox.Context := WbkConfigurationPanelContext.wcpcFactor;
End Sub UserProc;

See also:

IWorkbookConfigurationPanel