TcxCustomEditProperties.ImmediatePost Property
Indicates whether the edit value should be saved immediately after it has been modified.
Declaration
property ImmediatePost: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
The ImmediatePost property is in effect for data-aware editors that allow you to modify their values immediately. For instance, this property can be used for a check editor, a combo box, etc.
If the ImmediatePost property is True, the editor automatically saves the EditValue property’s value to the bound field’s Value property as soon as the value has been changed. Otherwise, the value will be saved when the editor looses focus or in response to pressing the Enter key.
The ImmediatePost property is useful if there are a number of controls displaying data from the editor’s bound field. If this property value is True, all bound controls will refresh themselves as soon as the editor’s value has been changed.
Note
You can save the edited value manually by calling the editor’s PostEditValue method.
The default value of the ImmediatePost property is False.