Skip to content

OnChange - List

Called when the data in this object changes

Type: Event

Syntax

Procedure OnChange

Description

The OnChange message is a "hook" procedure for you to use for any action you wish to occur when the data in this object changes. As supplied, it does nothing. Sent whenever the current_item is changed.

Col 1 Col 2
Note: The OnChange event should not be used to change focus or to alter the value of controls such as Form or ComboForm. This event is created to respond to a data change event and not to trigger other data changes. If you want to respond to a change in a combo based on a user selection, it is suggested you augment other procedures such as Combo_Item_Changed and Combo_Edit_Changed.