ListBox.OnChange

Syntax

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

Begin

//set of operators;

End Sub OnChange;

Parameters

Sender. Parameter that returns the component that has generated the event.

Args. Parameter that enables the user to determine event parameters.

Description

The OnChange event occurs on changing the last selected element in the component.

Comments

Index of the last selected element can be obtained in the IListBox.ItemIndex property.

See also:

ListBox