Context: WbkConfigurationPanelContext;
Context: Prognoz.Platform.Interop.Express.WbkConfigurationPanelContext;
The Context property determines context displayed in the component.
Context is a set of tabs of the WorkbookConfigurationPanel component used to configure a part of the workbook.
Executing the example requires a form with the following components:
WorkbookConfigurationPanel with the WorkbookConfigurationPanel1 identifier.
WorkbookDocumentViewerBox with the WorkbookDocumentViewerBox identifier.
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.
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: