RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonCalendar.DateTime Property

Indicates the date that is marked on the calendar.

Pascal
property DateTime: TDateTime;
C++
__property TDateTime DateTime;

Use DateTime to get or set the date (and, if relevant, time) that is marked on the calendar control. The value of DateTime must lie within the range specified by the MaxDate and MinDate properties. 

If MultiSelect is true, the selected range of dates goes from DateTime to EndDate.

Note: You can also set the marked date with the Date property.
 

 

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