Sign in Join
FPDoc Onlineexperiment

TCustomCalendar.HitTest function

Member of TCustomCalendarpublicIn unit Calendar

Indicates where a mouse click occurred in the calendar control.

Declaration

pascal
function HitTest(APoint: TPoint): TCalendarPart

Arguments

APoint

Coordinates where the mouse click occurred.

Description

HitTest is a TCalendarPart function that indicates where a mouse click occurred in the calendar control. The return value indicates the part of the control clicked, or cpNoWhere when the handle has not been allocated for the control. HitTest ensures that the widget-set specific HitTest method is called.

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