LanerBox.OnMoveSerie

Syntax

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

Begin

//set of operators;

End Sub OnMoveSerie;

Parameters

Sender. Component that has generated the event.

Args. Event parameters.

Description

The OnMoveSerie event occurs when a workbook series is moved.

Comments

Parameters of this event cannot be changed.

Example

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

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

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

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

See also:

LanerBox