LanerBox.OnChangeMode

Syntax

OnChangeMode(Sender: Object; Args: IEventArgs);

Parameters

Sender. The component that 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, 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.

The described procedure must be assigned as a handler of the OnChangeMode event for LanerBox.

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