onChange
Topic group Related topics Example
When the contents of the component have been changed.
Parameters
none
Property of
Browse, Checkbox, ComboBox, Editor, Entryfield, Form, ListBox, Ole, RadioButton, ScrollBar, Slider, SpinBox, Subform, Treeview
Description
onChange fires when the user changes data, which includes the following actions:
Inserts or removes a checkmark in a checkbox
Selects a different RadioButton in the RadioButton group
Selects a different item in a tree
Changes a value in an entryfield
Changes a value in the text box portion of a spinbox
Clicks the spinner on a spinbox
Moves the scroll thumb in a scrollbar object
Changes a value in a field and moves to another row in a browse
Changes a value in the test box portion of a combobox.
If the value is changed by editing the value, onChange fires when the combobox loses focus.
If the value is changed by navigating to a different item in the combobox's list or dropdown list, onChange fires immediately.
The onChange event of an OLE object fires each time the record pointer moves from one record to another. The onChange event of a form fires after moving to another record, if the previous record was changed, but only if the form is open and has controls dataLinked to fields.