Skip to content

OnChange - Edit

Called every time the edit buffer is changed

Type: Event

Syntax

Procedure OnChange

Description

The OnChange event message is sent every time the edit buffer is changed. When entering text in the buffer this message is sent after each keystroke.

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.