True DataControl 8.0 Reference > Field Object > Field Object Properties > ModificationMode Property |
Specifies the control's behavior on end-user changes made to a control bound to the field.
Field.ModificationMode= value
Read/Write at run time and design time. Property applies to Field object. Not available in True DataControl Lite.
Design Time |
Run Time |
0 – None |
tdbModifModeNone |
1 – Immediate |
tdbModifModeImmediate |
2 – Leaving control (default) |
tdbModifModeOnControlExit |
This property determines how the TData control reacts to changes in the field’s value that are caused by end-user interaction.
When set to 0 –None, the TData control does nothing, deferring to the container (Visual Basic) to decide when the field should be updated.
The 1 –Immediate setting triggers an instant field update for every change that occurs in a bound control, even for individual keystrokes.
The default setting, 2 –Leaving control, triggers field updates when the bound control loses focus, or when the current cell position in a bound grid changes.
For more information, see Field Modification Modes.