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 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.

This procedure must be set the OnLanerChange event handler for the LanerBox component.

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