Skip to main content
Version: v20

On Data Change

CodeCan be called byDefinition
204D Write Pro area - Dropdown list - Form - Hierarchical List - Input - List Box - List Box Column - Plug-in Area - Progress Indicators - Ruler - Spinner - Stepper - SubformAn object data has been modified

Description

When the On Data Change event property is selected for an object, you can detect and handle the change of the data source value, using the FORM Event command.

The event is generated as soon as the variable associated with the object is updated internally by 4D (i.e., in general, when the entry area of the object loses the focus).

With subforms, the On Data Change event is triggered when the value of the variable of the subform object has been modified.