Sign in Join
FPDoc Onlineexperiment

TCalendarPart enumeration

In unit Calendar

Indicates where a mouse click occurred in a calendar control.

Declaration

pascal
TCalendarPart = (cpNoWhere,cpDate,cpWeekNumber,cpTitle,cpTitleBtn,
 cpTitleMonth,cpTitleYear)

Description

TCalendarPart is an enumerated type with values that indicate where a mouse click occurred in a calendar control. TCalendarPart is used to implement the TCustomCalendar.HitTest method.

See also

Values

cpNoWhereMouse click cannot be applied to the control; no handle available.
cpDateMouse click occurred on a date in the calendar control.
cpWeekNumberMouse click occurred on a week number in the calendar control.
cpTitleMouse click occurred on a day heading in the calendar control.
cpTitleBtnMouse click occurred on a navigation button in a calendar control.
cpTitleMonthMouse click occurred on the month name heading in the calendar control.
cpTitleYearMouse click occurred on the year number heading in the calendar control.

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