TCalendarDialog.FirstDayOfWeek property
Indicates the day of the week used in the first column for the calendar control on the dialog.
Declaration
property FirstDayOfWeek: TCalDayOfWeek read FFirstDayOfWeek write FFirstDayOfWeek default dowDefault;Description
FirstDayOfWeek is a
TCalDayOfWeek property which
indicates the first day of the week displayed on the calendar component used on
the dialog.
FirstDayOfWeek contains one of the values from the TCalDayOfWeek enumeration like dowMonday, dowSunday, et. al. The default value for the property is dowDefault and causes the default day of the week setting for the platform to be used. Please note that this is not compatible with the dowLocaleDefault value used in Delphi.
The value is assigned to the FirstDayOfWeek property in the internal TCalendar instance when the Execute method is called. It configures the calendar instance to display the selected day of the week as the first column for the day grid used on the calendar control.
Added in LCL 4.0.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
