Skip to content

OnDoubleClick - cMonthCalendar

Called when a mouse double click occurs over a day cell

Type: Event

Syntax

Procedure OnDoubleClick

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, OnDoubleClick is augmented to conditionally close the calendar list and accept the selection by sending Ok. This would require that you change the cMonthCalendarPrompt property peMouseSelectOk to msoDblClick.