Skip to main content

TdxBarDateCombo.CheckDate(TDateTime) Method

Determines whether a specified date is within the MinDate to MaxDate range.

Declaration

function CheckDate(ADate: TDateTime): TDateTime;

Parameters

Name Type
ADate TDateTime

Returns

Type
TDateTime

Remarks

If the date specified by ADate is out of this range, this method returns the value of MinDate or MaxDate – based upon what bound is closer to the specified date. Otherwise, the CheckDate method returns the ADate parameter’s value.

See Also