LanerBox.OnRemoveSerie

Syntax

Sub OnRemoveSerie(Sender: Object; Args: LanerBoxSerieEventArgs);

Begin

//set of operators;

End Sub OnRemoveSerie;

Parameters

Sender. Component that has generated the event.

Args. Event parameters.

Description

The OnRemoveSerie event occurs when a time series is removed from the workbook.

Comments

Parameters of this event cannot be changed.

Example

Executing the example requires a form, the LanerBox component named LanerBox1 on the form, and the UiErAnalyzer component used as a data source for LanerBox. The workbook of time series database should be loaded to UiErAnalyzer. The form also contains the Memo component with the Memo1 identifier.

The procedure must be set the OnRemoveSerie event handler for the LanerBox component.

Sub LanerBox1OnRemoveSerie(Sender: Object; Args: ILanerBoxSerieEventArgs);
Begin
    Memo1.Lines.Add("Index of the removed series: " + Args.SerieIndex.ToString);
End Sub LanerBox1OnRemoveSerie;

After a series is removed from the workbook, information on this series is displayed in the Memo1 component.

See also:

LanerBox