IWorkbookDocumentViewerBox.Analyzer

Syntax

Analyzer: IEaxAnalyzerSource;

Description

The Analyzer property determines a data source for the component.

Comments

It is required to specify the UiErAnalyzercomponent as a data source, which is connected to the required repository workbook.

Example

Executing the example requires a form with the Button1 button, the WorkbookDocumentViewerBox component named WorkbookDocumentViewerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is connected to any workbook of the repository.

Sub Button1OnClick1(Sender: Object; Args: IMouseEventArgs);
Begin
    WorkbookDocumentViewerBox1.Analyzer := UiErAnalyzer1 As IEaxAnalyzerSource;
    WorkbookDocumentViewerBox1.FactorsTreeVisible := False;
    UiErAnalyzer1.Active := True;
End Sub Button1OnClick1;

On clicking the button the UiErAnalyzer1 component is set as a data source for WorkbookDocumentViewerBox1. Displaying the series tree, the Source button and the navigation chain will be disabled.

See also:

IWorkbookDocumentViewerBox