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

# TDisplaySetting

Enumerated type with values that control display settings in TCalendar.

## Declaration

Source position: calendar.pp line 37

`type TDisplaySetting = (`
`dsShowHeadings,` |  | Displays a month/year heading.
`dsShowDayNames,` |  | Displays day names.
`dsNoMonthChange,` |  | Prevents changing the current month.
`dsShowWeekNumbers` |  | Displays week numbers.
`);`

## Description

TDisplaySetting is an enumerated type with values that control display settings in TCalendar. Values from TDisplaySetting are stored in the TDisplaySettings type.

Remark: | Use of a display setting requires it to also be implemented on the native calendar control for a platform / widgetset. Most of the values in TDisplaySetting are ignored for the Windows platform; only dsShowWeekNumbers has the desired effect.

Remark: | The value dsStartMonday has been removed in LCL version 2.2 or higher.

## See also

DefaultDisplaySettings |  | Default display settings used in TCalendar.
TCustomCalendar.DisplaySettings |  | DisplaySettings contains options which control the appearance or behavior for the calendar control.