I’m trying to make the tcheckcombobox work better.
Joanna, just want to tell you that I am attempting to fix TCheckComboBox. The problem is the usage of platform-defines {$IF DEFINED(LCLWin32)) inside the LCL which is not allowed. I am following two ideas: either integrate the component into the LCL widgetset interface system, or move the component out of the LCL into a separate package, e.g. LazControls. ATM I am favouring the second approach which is much easier (however, breaks user code since projects must add LazControls to their requirements then).
Both ways will fix the buggy behaviour of the component with the dropdown in Windows.
But in order to improve usabilitiy of the component there are other issues to be solved:
- check/uncheck items only when the checkbox is clicked, not when the item is clicked somewhere else
- display a list of the checked items in the non-dropped case so that the user can see the checked item without having to drop down the combo.