If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Hi,
Does anyone know to get rid of the dropdown white portion in wxCombox? I tired using dismiss so it wouldn't show up but you can still see the dropdown
white portion.
Could it be that you have only three controls on your dialog of which only the combobox gains the input focus. Or where your combobox is the first object in the dialog (when being created). And if the focus is set on the combobox it automatically opens to show the possible choices, of which there are none for now, hence the white empty space.
So maybe if you add a plain textedit control as first object, so that this will get the input focus first, the dropdown of the combobox will no longer appear.
I am trying to use the drop-down as a colour selection tool. When i click the combo box i don't want the white portion to appear so i tried dismissing it and as well change focus when the event is triggered but it still doesn't work.
gillp28 wrote: ↑Fri Aug 23, 2019 1:17 am
I am trying to use the drop-down as a colour selection tool. When i click the combo box i don't want the white portion to appear
What do you want to happen in this case? I am not sure you can prevent the drop down from showing...
But I'm also curious why it is empty? Did you put some strings in the combo box?