Vcl.Samples.Calendar.TCalendar.UseCurrentDate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UseCurrentDate: Boolean read FUseCurrentDate write SetUseCurrentDate default True;

C++

__property bool UseCurrentDate = {read=FUseCurrentDate, write=SetUseCurrentDate, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

Description

Retrieves the current date from Windows and uses that for the Day, Month , and Year properties.

UseCurrentDate defaults to True, which means that the Day, Month, and Year properties default to the current date. UseCurrentDate is set to False when the Day, Month, or Year properties are changed.

See Also

Code Examples