[Lazarus] TDateEdit.Clear and DefaultToday: bug or expected behaviour?

Alexsander Rosa alexsander.rosa at gmail.com
Fri Jan 10 16:50:17 CET 2014


With DefaultToday = false, TDateEdit.Clear clears the edit and sets Date to
1899-12-30.
With DefaultToday = true, TDateEdit.Clear clears the edit and sets Date to
TODAY.
IMHO, the edit on screen should display the content of the Date property
all times.
Thus, with DefaultToday = true, the TDateEdit.Clear shoud display TODAY
instead of blank.
Or maybe TDateEdit.Clear should set 1899-12-30 regardless of DefaultToday
property?

-- 
Atenciosamente,
Alexsander da Rosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140110/7e5553e3/attachment-0002.html>


More information about the Lazarus mailing list