Vcl.ComCtrls.TCommonCalendar.MsgSetDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MsgSetDateTime(Value: TSystemTime): Boolean; virtual; abstract;

C++

virtual bool __fastcall MsgSetDateTime(const _SYSTEMTIME &Value) = 0 ;

Properties

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

Description

Sets the calendar's date/time.

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.

See Also