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

TCalendarPart

Indicates where a mouse click occurred in a calendar control.

Declaration

Source position: calendar.pp line 49

type TCalendarPart = (

  cpNoWhere,

  

Mouse click cannot be applied to the control; no handle available.

  cpDate,

  

Mouse click occurred on a date in the calendar control.

  cpWeekNumber,

  

Mouse click occurred on a week number in the calendar control.

  cpTitle,

  

Mouse click occurred on a day heading in the calendar control.

  cpTitleBtn,

  

Mouse click occurred on a navigation button in a calendar control.

  cpTitleMonth,

  

Mouse click occurred on the month name heading in the calendar control.

  cpTitleYear

  

Mouse click occurred on the year number heading in the calendar control.

);

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

TCustomCalendar.HitTest

  

Indicates where a mouse click occurred in the calendar control.


Version 3.2 Generated 2024-02-25 Home