Sign in Join
FPDoc Onlineexperiment

TCustomCalendar.DisplaySettings property

Member of TCustomCalendarpublicIn unit Calendar

DisplaySettings contains options which control the appearance or behavior for the calendar control.

Declaration

pascal
property DisplaySettings: TDisplaySettings read GetDisplaySettings write SetDisplaySettings default DefaultDisplaySettings;

Description

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

dsShowHeadings
Displays a Month/Year heading. Has no effect on the Windows platform; Month and Year headings are always enabled.
dsShowDayNames
Displays Day names. Has no effect on the Windows platform; Day names are always enabled.
dsNoMonthChange
Prevents changing the current month on the calendar. Has no effect on the Windows platform; use MinDate and MaxDate to limit the available calendar dates.
dsShowWeekNumbers
Displays week numbers.
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.