Page 1 of 1

Posted: Tue May 28, 2002 1:46 pm
by BackupUser
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

Posted: Tue May 28, 2002 2:25 pm
by BackupUser
Restored from previous forum. Originally posted by Iontichy.
ComboBoxGadget(#SearchMode, 156, 542, 75, 20)
Try to make it higher like this:
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

Posted: Wed May 29, 2002 2:21 am
by BackupUser
Restored from previous forum. Originally posted by Fangbeast.
ComboBoxGadget(#SearchMode, 156, 542, 75, 20)
Try to make it higher like this:
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
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 confused :)

Fangles