DateTimeControls 1.1.0

Here’s another update of DateTimeControls. I’ve added a new property “Value”. You may wonder why I did this, as there’s already the “CurrentDate” property. Well, “CurrentDate” is of type “Date”. This causes problems with data-binding if the table contains NULL values. Those NULL values should be handled as “no selection made”, i. e. the “DateSelected” property should be set to “False” on such a NULL value. However, you would need to bind 2 properties for 1 column. I doubt this is possible.
I could have changed the type of “CurrentDate” to “Variant” and change its implementation so that setting this property to a NULL value is handled as if “DateSelected” was being set to “False”. But this would have broken binary compatibility. Therefore I introduced a new property that combines “CurrentDate” and “DateSelected”.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.