procedure TForm2.sDateEdit1Change(Sender: TObject);
begin
if (sDateEdit1.CheckValidDate(false)) then
begin
sLabel1.Caption := DateToStr(sDateEdit1.Date);
end;
end;
To my opinion executing “DefaultToday := true;” should set the component to a valid date.
But “CheckValidDate” returns false because the “Text”-property is not filled yet.