Sign in Join
FPDoc Onlineexperiment

TCalendarDialog.CalendarDblClick procedure

Member of TCalendarDialogprotectedIn unit ExtDlgs

Implements the event handler signalled for a double click on the calendar control in the dialog.

Declaration

pascal
procedure CalendarDblClick(Sender: TObject)

Arguments

Sender

Object instance (TForm) for the event notification.

Description

CalendarDblClick is the handler routine assigned to the OnDblClick event in the TCalendar instance for the dialog form. It ensures that the value in Date is updated when a mouse double click occurs on a date in the TCalendar control on the dialog form. GetNewDate is called to update the value in Date. The calendar dialog form is updated to set its ModalResult value to mbOK.

See also

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