Change TCalendarEdit to use the standard Month Calendar control
Borland's Object Windows Library for the modern age
Brought to you by:
jogybl,
sebas_ledesma
Implemented in [r7860].
Regression fixed in [r7862].
Related
Commit: [r7860]
Commit: [r7862]
Last edit: Vidar Hasfjord 2025-05-24
Much better; but what purpose does TCalendarEdit serve, compared to TDateTimePicker (which encapsulates the native Date and Time Picker control)? The latter does the same and is more flexible regarding the date format, using the user's system setting as the default (see Controls or DDT in Classes example). It also has more features; e.g. supports different display styles.
Perhaps we should just make TCalendarEdit an alias of TDateTimePicker and/or deprecate it?
You are right, there isn't a use case for this control, as the standard date picker is clearly superior.
We can just put a comment in the header file that it should not be used and point to TDateTimePicker.