TCalendarDialog date selection failure
Original Reporter info from Mantis: Edio
-
Reporter name: Edio Smanio Junior
Original Reporter info from Mantis: Edio
- Reporter name: Edio Smanio Junior
Description:
After selecting a date by double clicking the calendar, the property date is not updated correctly in any event (OnDayChange, OnMonthChange or OnYearChange). the property date allways shows the date before the change(selection)
Steps to reproduce:
Calendar.execute
//---
procedure TForm.CalendarDayChanged(Sender: TObject);
begin
E_Date.Text:=FormatDateTime('dd-mm-yy',Calendar.Date);
end;
//--- E_Date.Text is allways one selection behind.
Additional information:
The same hapens in Lazarus 1.0.10
Works OK in Linux
Mantis conversion info:
- Mantis ID: 26852
- OS: Win32
- OS Build: XP
- Platform: i386
- Version: 1.2.4
- Fixed in revision: r46791 (#311f06d2)
- Target version: 1.2.8