Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDateEditProperties.DateOnError Property

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
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