Skip to content

OnChange - EntryList

Called when the data in this object changes

Type: Event

Parameters

Parameter Type Description
iItem Integer The item number

Syntax

Procedure OnChange Integer iItem

Description

OnChange 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. The message is sent by the key and value procedures.

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.