Vcl.ComCtrls.TCommonCalendar.CheckValidDate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CheckValidDate(Value: TDate); virtual;

C++

virtual void __fastcall CheckValidDate(System::TDate Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCommonCalendar

Description

Confirms that a date falls between MinDate and MaxDate.

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.

See Also