RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonCalendar.CheckValidDate Method

Confirms that a date falls between MinDate and MaxDate.

Pascal
procedure CheckValidDate(Value: TDate); virtual;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!