ListBox.OnChange

Syntax

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

Begin

//set of operators;

End Sub OnChange;

Parameters

Sender. Parameter returning the component generated the event.

Args. The parameter allowing to determine event parameters.

Description

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

Comments

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

See also:

ListBox