Lazarus

Programming => General => Topic started by: AL on October 22, 2020, 03:20:52 am

Title: CheckComboBox bug in MacOS?
Post 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
Title: Re: CheckComboBox bug in MacOS?
Post by: AL on October 22, 2020, 03:22:07 am
Here is the Window display
Title: Re: CheckComboBox bug in MacOS?
Post by: trev on October 22, 2020, 03:42:41 am
A possible bug?

Yep - same here. Lodge a bug in the Bugtracker.
Title: Re: CheckComboBox bug in MacOS?
Post by: AL on October 22, 2020, 03:40:26 pm
0037967: checkComboBox from the MISC tab does not work properly in MacOS
Title: Re: CheckComboBox bug in MacOS?
Post by: AL on October 23, 2020, 04:03:39 pm
Is there another component I could use instead?
I need a dropdown list for 5 items with multiselect.
Title: Re: CheckComboBox bug in MacOS?
Post by: wp on October 23, 2020, 05:11:05 pm
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.
Title: Re: CheckComboBox bug in MacOS?
Post by: AL on October 25, 2020, 09:26:03 pm
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!
TinyPortal © 2005-2018