LanerBox.OnChangeMode

Syntax

Sub OnChangeMode(Sender: Object; Args: IEventArgs);

Begin

//set of operators;

End Sub OnChangeMode;

Parameters

Sender. Component that has generated the event.

Args. Event parameters.

Description

The OnChangeMode event occurs when the mode of workbook displaying is changed.

Comments

This event does not generate parameters. Therefore, Args contains no values.

Example

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

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

Sub LanerBox1OnChangeMode(Sender: Object; Args: IEventArgs);
Begin
    Memo1.Lines.Add("Workbook displaying mode has been changed");
End Sub LanerBox1OnChangeMode;

When the mode of workbook displaying is changed, the Memo1 component shows an appropriate message.

See also:

LanerBox