LanerBox.OnLanerChange

Syntax

Sub OnLanerChange(Sender: Object; Args: ILanerBoxChangeEventArgs);

Begin

//set of operators;

End Sub OnLanerCellChange;

Parameters

Sender. Component that has generated the event.

Args. Event parameters.

Description

The OnLanerChange event occurs when a workbook is changed.

Comments

It is possible to identify the workbook section that has been changed by using the Args parameter.

Example

Executing the example requires the 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.

This procedure should be assigned as a handler of the OnLanerChange event for LanerBox.

Sub LanerBox1OnLanerChange(Sender: Object; Args: IEventArgs);
Begin
    Memo1.Lines.Add("Workbook is changed");
End Sub LanerBox1OnLanerChange;

When the workbook is changed, the Memo1 component displays appropriate message.

See also:

LanerBox