TCalenderDialog doesn't show initial date.
Original Reporter info from Mantis: SunyD @soner-a
-
Reporter name: Soner
Original Reporter info from Mantis: SunyD @soner-a
- Reporter name: Soner
Description:
TCalenderDialog doesn't show initial date. It shows current date.
Steps to reproduce:
- Put on a form TCalendarDialog
- Change CalendarDialog1.Date in object inspector
- Right click on form designer to CalendarDialog1 and select [test dialog..]
or
1. Create project and put on a form TCalendarDialog and a Button
2. double click on button
3. write on Button1Click:
procedure TForm1.Button1Click(Sender: TObject);
begin
CalendarDialog1.Date:=EncodeDate(2016,1,10);
if CalendarDialog1.Execute then
ShowMessage('You select '+DateToStr(CalendarDialog1.Date));
end;
- build and execute the app
Additional information:
same result with lazarus 1.6.4
Mantis conversion info:
- Mantis ID: 32379
- OS: Windows
- OS Build: xp,7,10
- Build: svn-rev. 55760
- Platform: i386
- Version: 1.8RC4
- Fixed in version: 1.8
- Fixed in revision: r55820 (#5d3204f0)
- Target version: 1.8