ComponentOne True DataControl 8.0
ModificationMode Property

Specifies the control's behavior on end-user changes made to a control bound to the field.

Syntax

Field.ModificationMode= value

Remarks

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.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback