[Overview][Constants][Classes][Procedures and functions][Index] | Reference for unit 'ExtDlgs' (#lcl)

# TCalendarDialog.FirstDayOfWeek

Indicates the day of the week used in the first column for the calendar control on the dialog.

## Declaration

Source position: extdlgs.pas line 231

`published property TCalendarDialog.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.

## Version info

Added in LCL 4.0.

## See also

TCalendarDialog.Execute |  | Creates and displays the form for the calendar dialog, and captures the results.
TCalendar.FirstDayOfWeek |  | Indicates the day of the week displayed as the first column in the calendar grid.
TCalDayOfWeek |  | Represents days of the week used in TCalendar.