Lazarus
Programming => General => Topic started by: AL on October 22, 2020, 03:20:52 am
-
I used a checkComboBox from the MISC tab.
It behave correctly in Windows and Linux, but the Mac version does not display properly.
A possible bug?
In Mac the title is repeated twice in the caption and the dropdown is rather a popup that hide the caption.
Also the checkbox is not shown in the caption as in Win and Linux.
simple demo project added
-
Here is the Window display
-
A possible bug?
Yep - same here. Lodge a bug in the Bugtracker.
-
0037967: checkComboBox from the MISC tab does not work properly in MacOS
-
Is there another component I could use instead?
I need a dropdown list for 5 items with multiselect.
-
TCheckCombobox is not very useful even on Windows because it does not list the checked items in the non-dropped-down case. If you have more space on the form you could work around using TCheckListbox or even TCheckGroup.
-
Finally ended using a button and a PopUpmenu for the time being.
This is working on all platform.
No big problem as I had only 5 items to display/choose.
And since this is multi select I did not need the selected item in the caption.
Thanks all!