Skip to main content

TcxCustomDateEditProperties.DateOnError Property

Determines the date to be assigned to an editor in case of invalid date input.

Declaration

property DateOnError: TDateOnError read; write; default deNoChange;

Property Value

Type Default
TDateOnError deNoChange

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
deNoChange The current editor’s value remains unchanged.
deToday Sets the editor’s value to a current date-time.
deNull Clears the editor’s value by setting its EditValue property to Null.

The default value of the DateOnError property is deNoChange.

See Also