TcxControlOptionsData.CancelOnExit Property
Determines whether empty records are posted to a dataset when a control loses focus.
Declaration
property CancelOnExit: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
Use the CancelOnExit property to determine whether empty records are posted to a dataset when a control loses focus. This situation occurs when a new record is inserted into a control and focus is removed from the control without entering any data into the record’s fields. In this case, an empty record is not posted if the CancelOnExit property value is True.
The default value of the CancelOnExit property is True.
See Also