Restored from previous forum. Originally posted by Fangbeast.
I have this snippet in my code and according to every example I have seen so far, this is the right way to do it but, no items show up in the combobox when I fire this up?? I've searched through the forum but got no ideas for this one.
#Searchmode = 1
ComboBoxGadget(#SearchMode, 156, 542, 75, 20)
AddGadgetItem(#SearchMode, -1, "NoCase")
AddGadgetItem(#SearchMode, -1, "Exact")
AddGadgetItem(#SearchMode, -1, "FindIn")
Fangles
No items show up in comboboxgadget??
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Iontichy.
ComboBoxGadget(#SearchMode, 156, 542, 75, 100)
I think the heigth means the height of the opened combobox
and 20 is just to small to display the text...
---------------
star traveler
Try to make it higher like this:ComboBoxGadget(#SearchMode, 156, 542, 75, 20)
ComboBoxGadget(#SearchMode, 156, 542, 75, 100)
I think the heigth means the height of the opened combobox
and 20 is just to small to display the text...
---------------
star traveler
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Fangbeast.

Fangles
I tried it and you are right but that is so weird. How does the opened combo box know the height of single opened item?? I may retire to the home for the terminally confusedTry to make it higher like this:ComboBoxGadget(#SearchMode, 156, 542, 75, 20)
ComboBoxGadget(#SearchMode, 156, 542, 75, 100)
I think the heigth means the height of the opened combobox
and 20 is just to small to display the text...
---------------
star traveler
Fangles