OnChange Event (AComboBox)

Occurs when the Value property has changed on the object using the keyboard or the mouse or by changing the Value property.

Syntax

Object.OnChange()

The OnChange event syntax has the following parts:

 

Name

Type

Description

Object

AComboBox

AComboBox control

Example

cb1.OnChange()

{

cb1.Caption="The change is noted."

}

Applies to

AComboBox

See Also

InsertItem, OnSelChange, RemoveItem