Sign in Join
FPDoc Onlineexperiment

TCalendarDialog.GetNewDate procedure

Member of TCalendarDialogprotectedIn unit ExtDlgs

Gets the date value from the Calendar on the dialog form.

Declaration

pascal
procedure GetNewDate(Sender: TObject)

Arguments

Sender

Object instance for the event notification. Not used in the method.

Description

GetNewDate is a procedure used to get the date value from the TCalendar control on the dialog form. It assigns the DateTime value from the calendar control to the Date property in the dialog component.

GetNewDate is called from methods like CalendarDblClick, CalendarDayChanged, CalendarYearChanged, and CalendarMonthChanged. It is assigned as the OnClick event handler for the OK button displayed on the calendar dialog form.

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