Sign in Join
FPDoc Onlineexperiment

TCalendarPopupForm.CalendarDblClick procedure

Member of TCalendarPopupFormIn unit CalendarPopup

Performs actions needed when a double click mouse event occurs in the Calendar control.

Declaration

pascal
procedure CalendarDblClick(Sender: TObject)

Arguments

Sender

Object for the event notification.

Description

CalendarDblClick ensures that the mouse event is within the bounds for the Calendar control by calling its HitTest method. When the mouse event occurs on the Month or Year calendar parts, the ReturnDate method is called to signal the OnReturnDate event handler and close the form.

See also

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