Sign in Join
FPDoc Onlineexperiment

TCustomCalendar.GetCalendarView function

Member of TCustomCalendarpublicIn unit Calendar

Gets the current view for the Calendar.

Declaration

pascal
function GetCalendarView: TCalendarView

Function result

Current view for the Calendar.

Description

GetCalendarView is a TCalendarView function used to get the current view for the calendar control. It calls the GetCurrentView class function in the widgetset class instance when its handle has been allocated. It is used in components like TCalendarDialog and TCalendarPopupForm to determine the active view when a Return or Space key is handled.

See also

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