TcxCustomDateEditProperties.DateOnError Property
In This Article
Determines the date to be assigned to an editor in case of invalid date input.
#Declaration
Delphi
property DateOnError: TDateOnError read; write; default deNoChange;
#Property Value
Type | Default |
---|---|
TDate |
de |
#Remarks
Use the DateOnError property to set the date assigned to the date edit in case of invalid date input.
There are three kinds of value which can be assigned to the editor EditValue property:
Kind | Description |
---|---|
de |
The current editor’s value remains unchanged. |
de |
Sets the editor’s value to a current date-time. |
de |
Clears the editor’s value by setting its Edit |
The default value of the DateOnError property is deNoChange.
See Also