RxCtrls Calendar-wrong month -right date lazarus / 4-Ported from Delphi-Kylix ---------------------------------------------------------------------- davesimplewear · 2010-07-12 11:27 I installed the latest version of the rxLibrary and found the Calendar Components, RxGrid Date field, The DateEdit and Calendar al give the correct Date, but the heading Month gives a month behind eg Jul 12 would rad June 12 but give the value Jul 12, has anyone else struck tis problem and has it been reported? If not does it need to be report4ed in Buc Tracker? Regards Dave ---------------------------------------------------------------------- eny · 2010-07-12 11:35 Maybe the month is zero-based? ---------------------------------------------------------------------- davesimplewear · 2010-07-12 22:12 The previous versions were OK, so it must be something in the update, looks to be a different Calendar. Regards Dave ---------------------------------------------------------------------- JD · 2010-07-12 23:40 Where did you download the latest RxCtrls from? ---------------------------------------------------------------------- davesimplewear · 2010-07-13 00:05 svn Regards Dave ---------------------------------------------------------------------- DirkS · 2010-07-13 23:05 That seems to be a bug. In pickdate.pas (rev 1220, line 321) function LongMonthNames is assumed to be zero based, but I think it's 1 based... Gr. Dirk.