OnSelChange Event (AComboBox)

Occurs when a selection was changed on the object using the keyboard, the mouse or by changing the ListIndex property.

Syntax

Object.OnSelChange()

The OnSelChange event syntax has the following parts:

 

Name

Type

Description

Object

AComboBox

AComboBox control

Example

cb1.OnSelChange()

{

cb1.Caption="The selection change is noted."

}

Applies to

AComboBox

See Also

InsertItem, OnChange, RemoveItem