09-16-2021, 07:31 AM
Hi Alexandre, thanks a lot for your help.
The TIWCalendar component now also works in a modal window with a TFrame.
However, I also noticed the following small problems:
If the properties CaptionNext or CaptionPrevious are changed by localized texts during runtime, this only takes effect for both fields after at least one of the fields has been clicked.
The digits in the date fields are always displayed with an underscore, although this is not selected in the properties. This cannot be changed either.
When you click on a number in the calendar, the font color changes to display the selection (red), but only as long as the mouse button is pressed.
A permanent switchover is only possible if you only release the mouse button outside of the number field!
The CheckerBoard property cannot be switched off programmatically.
Since I haven't found any further documentation for TIWCalendar, I also have the following questions:
Can the property LocaleID be generated via the Microsoft API macro MAKELCID ?
What does this property do ?
So far, I have been loading localized resources from a Microsoft resource file, first switching the LocaleID of the TFrame accordingly (SetThreadUILanguage()/SetThreadLocale()).
What is the FrameBuffer property used for ?
Regards
Juergen
The TIWCalendar component now also works in a modal window with a TFrame.
However, I also noticed the following small problems:
If the properties CaptionNext or CaptionPrevious are changed by localized texts during runtime, this only takes effect for both fields after at least one of the fields has been clicked.
The digits in the date fields are always displayed with an underscore, although this is not selected in the properties. This cannot be changed either.
When you click on a number in the calendar, the font color changes to display the selection (red), but only as long as the mouse button is pressed.
A permanent switchover is only possible if you only release the mouse button outside of the number field!
The CheckerBoard property cannot be switched off programmatically.
Since I haven't found any further documentation for TIWCalendar, I also have the following questions:
Can the property LocaleID be generated via the Microsoft API macro MAKELCID ?
What does this property do ?
So far, I have been loading localized resources from a Microsoft resource file, first switching the LocaleID of the TFrame accordingly (SetThreadUILanguage()/SetThreadLocale()).
What is the FrameBuffer property used for ?
Regards
Juergen