Skip to content

OnClick - cMonthCalendar

Called when a mouse click occurs over a day cell

Type: Event

Syntax

Procedure OnClick

Description

OnClick is called when a mouse click occurs over a day cell.

In the cMonthCalendar class, this does nothing and is suitable for augmentation.

In the cMonthCalendarPrompt class, OnClick is augmented to conditionally close the calendar list and accept the selection by sending Ok. This is determined by the cMonthCalendarPrompt property peMouseSelectOk.