Show contents 

Express > Express Assembly Classes > LanerBox > LanerBox.OnMoveSerie

LanerBox.OnMoveSerie

Syntax

OnMoveSerie(Sender: Object; Args: LanerBoxSerieEventArgs);

Parameters

Sender. The component that 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 a form, the LanerBox component named LanerBox1 on the form and the UiErAnalyzer component that is a data source for LanerBox. A workbook of time series database should be loaded to UiErAnalyzer. The form also contains the Memo component with the Memo1 identifier.

This procedure must be assigned as a handler of the OnMoveSerie event for LanerBox.

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