use value from OnAcceptDate (issue #1448)

git-svn-id: trunk@8183 -
This commit is contained in:
vincents 2005-11-17 20:52:41 +00:00
parent a62ae95299
commit a8f56d92ef

View File

@ -866,7 +866,8 @@ begin
B:=true;
If Assigned(FOnAcceptDate) then
FOnAcceptDate(Self,D,B);
Text:=DateToStr(FDate);
if B then
Text:=DateToStr(FDate);
end;
except
raise Exception.Create('Errore in calendar dialog di dateedit');