RAD Studio VCL Reference
TCommonCalendar.MsgSetDateTime Method

Sets the calendar's date/time.

function MsgSetDateTime(Value: TSystemTime): Boolean; virtual; abstract;
virtual __fastcall Boolean MsgSetDateTime(TSystemTime Value) = 0;

MsgSetDateTime implements the DateTime property by sending a message to the calendar window handle. MsgSetDateTime is an abstract method, and must be overridden in descendant objects to send the appropriate message. 

The Value parameter indicates the value of DateTime as a TSystemTime value. This can be obtained from the DateTime property value by calling DateTimeToSystemTime

MsgSetDateTime returns true if the date/time value is set by the method. 


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