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

TCustomCalendar.DisplaySettings

DisplaySettings contains options which control the appearance of the calendar.

Declaration

Source position: calendar.pp line 113

public property TCustomCalendar.DisplaySettings : TDisplaySettings
  read GetDisplaySettings
  write SetDisplaySettings
  default DefaultDisplaySettings;

Description

DisplaySettings contains options which control the appearance of the calendar. DisplaySettings is a set type which contains zero or more TDisplaySetting values, including:

dsShowHeadings
Displays a Month/Year heading
dsShowDayNames
Displays Day names
dsNoMonthChange
Prevents changing the month
dsShowWeekNumbers
Displays week numbers
Remark: The value dsStartMonday is no longer available in LCL version 2.2 or higher. It has been replaced by the FirstDayOfWeek property on platforms where the capability is supported (Win32, QT, QT5). This is Delphi compatible, and allows any day of the week to be used as the first day of the week.

See also

TDisplaySettings

  

Set type for TDisplaySetting values.

TDisplaySetting

  

Enumerated type with values that control display settings in TCalendar.

TCustomCalendar.FirstDayOfWeek

  

Indicates the day of the week displayed as the first column in the calendar grid.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.