Hi all,
what is the best method to change the default behaviour of the TDateEdit control? Per Default, when the calendar view is dropped down, it does need a double-clik to select a specific day.
I want a single click.
I tried myself, but is seems like the text field of the control and the dropped down calendar view share common onkey/up/down event handlers, so if I do some stuff tehre I affect both. And onClick fires only in the text field, but not in the calendar view?
Asked in a more general way, I am not very happy with the default key handling of the LCL library. I have a similar kind of problem in the ComboBox as well. The Combo drops down a list, from which I can select, but if I hit [Tab] to select the current entry and proceed to the next input, I end up in the ComboBoxe's own text field instead of, like expected, in the next focusabe control on the form.
Another issue related is that I'd like to re-map the [Enter] key entirely so that regardless of the focused control this key does always trigger a "Save" button. I can probably overwrite every control's onKey method ans do some magic there to fire up the Button's onClick handler, but isn't there a more global way so that I do this only once for all controls of a form?
Any clues welcome,
Armin.