Sub OnChange(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnChange;
Sender. Parameter that returns the component that has generated the event.
Args. Parameter that enables the user to determine event parameters.
The OnChange event occurs on changing the last selected element in the component.
Index of the last selected element can be obtained in the IListBox.ItemIndex property.
See also: