RAD Studio VCL Reference
TCommonCalendar.CheckValidDate Method

Confirms that a date falls between MinDate and MaxDate.

procedure CheckValidDate(Value: TDate); virtual;
virtual __fastcall CheckValidDate(TDate Value);

Calendar controls call CheckValidDate to confirm that a date falls between MinDate and MaxDate

Value is the date to check. 

If Value is outside MinDate and MaxDate, an exception of the type specified in the CalExceptionClass property is raised. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!