[Overview][Classes][Procedures and functions][Index] |
Gets the date value from the Calendar on the dialog form.
Source position: extdlgs.pas line 214
protected procedure TCalendarDialog.GetNewDate( |
Sender: TObject |
); |
Sender |
|
Object instance for the event notification. Not used in the method. |
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.