ILanerDerivedSerie.FactorIndex

Fore Syntax

FactorIndex: Integer;

Fore.NET Syntax

FactorIndex: System.Int32;

Description

The FactorIndex property returns a child series index, if this series is a factor.

Comments

If the child series is not a factor, FactorIndex returns -1.

Fore Example

Executing the example requires a form with the Button1 button, the LanerBox component named LanertBox1 and the UiErAnalyzer component that is a data source for the LanerBox component. Workbook of the time series database must be loaded into UiErAnalyzer.

Click the button to start executing this example.

Sub Button1OnClick(Sender: Object;  Args: IMouseEventArgs);
Var
    pSerie: ILanerDerivedSerie;
Begin
    If LanerBox1.SelectedSeriesCount > 0 Then
        If LanerBox1.SelectedSeries(0Is ILanerDerivedSerie Then
            pSerie := LanerBox1.SelectedSeries(0As ILanerDerivedSerie;
            Debug.WriteLine("Series index: " + pSerie.FactorIndex.ToString);
        Else
            Debug.WriteLine("Series isn't a child one");
        End If;
    End If;
End Sub Button1OnClick;

After executing the example, the index of a highlighted series is displayed in a console window, if the series is a child one.

See also:

ILanerDerivedSerie