Sign in Join
FPDoc Onlineexperiment

TDBCalendar.DisplaySettings property

Member of TDBCalendarpublishedIn unit DBCtrls

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

Declaration

pascal
property DisplaySettings: stored False;

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.

This description is the one of Calendar.TCustomCalendar.DisplaySettings.

See also

  • FirstDayOfWeek
  • TDisplaySettings
  • TDisplaySetting

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