Good morning to all,
little problem (but big) problem on TAdvDateTimePiker that is caming from windows!
I use the keyboard to enter the date and, when i press the enter key, the date is "accepted" and start the procedure.
All works well if the date is in the format dd/mm/yyyy but if the date is in other format like d/mm/yyyy or dd/m/yyyy the date will not change because, seems, the component need dd/mm/yyyy format.
So, for example, input date 11/11/2024 works 9/11/2024 not works 09/1/2024 not works.
Exist one way, in the component, to adjust the date with 2 digit day and month (forma does not work).
As Workaround when i press enter i move the focus to another control and back to TAdvDatetimePicker, in this way the date swith to correct one.
Example: input date 9/11/2024 move the focus to other control, back to TAdvDateEdit the date change to 09/11/2024.
I tried to enable userinput but in this way i have to rewrite the event.
Thanks for attention
Daniele