Posted by: Stefan Misch
is there anybody out there that knows how to either define or simulate the
same behaviour for a DropDownCalendar with TD3.1 as for a normal date edit
field with a format mask of "dd.MM.yyyy" (german format) and input format
"99.99.9999" defined. The advantage is that for entering a date e.g.
"31.12.2008" you just have to type "311208" and because of the input format
the dots are added automatically and the century is added automatically on
validation when tabbing out because of the format mask.
DropDownCalendar has a method SetPicture(), but that only has influence on
the format mask but not the input format on data entry. Furthermore,
DropDownCalendar does not react on SAM_AnyEdit.
I attached a small sample just to clarify what I mean.
P.S.: Happy and Prosper New Year to everybody!