well i don't think you can blank out the date in a tDateTimePicker but what you can do is set the ShowCheckBox property to true which you can use to check if a date value has been entered. hope that helps.
Delfy is probably correct - Delphi is Pascal and will set any uninitialised variable to a random value normally. Components such as DateTimePicker can't allow this to happen, so will default to the earliest date they can use in the system - usually the end of the 19th century (depending on your MaxDate & MinDate settings).
You can always set the date to something meaningful - such as today, or 1-Jan-1900:
People Tks to returning.
We used a component from RXLib (TDateEdit) that solved the problem. Our system stores dates as strings. A little code was needed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.