ILanerBox.IsOptionSwitchedOn

Syntax

IsOptionSwitchedOn(Operation: LanerBoxOperation): Boolean;

Parameters

Operation. Operation executed with a workbook.

Description

The IsOptionSwitchedOn method indicates whether the specified operation is applied in the workbook.

Comments

The method is applied for the following operations:

Available values:

Example

Executing the example requires a form with a button named Button1 on the form, the LanerBox component named LanerBox1, and the UiErAnalyzer component used as a data source for LanerBox. The workbook of the time series database should be loaded to UiErAnalyzer in multidimensional mode.

This procedure should be assigned as a handler of the OnClick event for the button. The example is executed on clicking the button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    If Not LanerBox1.IsOptionSwitchedOn(LanerBoxOperation.Pareto) Then
        LanerBox1.ExecuteOperation(LanerBoxOperation.Pareto);
    End If;
End Sub Button1OnClick;

After executing the example Pareto analysis is applied to the workbook displayed in LanerBox.

See also:

ILanerBox