Works here. How did you test this?
this will not work properly, does not recognize the error.procedure TForm1.DatumEditExit(Sender: TObject);var Datum:TDateTime;begin try Datum:=StrToDate(DatumEdit.Caption) except on EconvertError do begin MessageDlg('wrong date',mtError,[mbOk],0); Activecontrol:=DatumEdit; exit; end; end; Please help. lazarus-0.9.28.2-fpc-2.2.4-win32WinXp_SP3
lWhere can I download the version of your Lazarus?