Single select drop-down lists

BlitzMax Forums/BlitzMax GUI Programming/Single select drop-down lists

Is there a way to display a single drop-down list? e.g.

+---------------------------------------------+
| Item One | V |
+---------------------------------------------+

When you press the down-arrow, the list is show to make a single selection.

I think what you mean is called a ComboBox in MaxGui.

From the help:
' createcombobox.bmx

Strict 

Local window:TGadget
Local combobox:TGadget

window=CreateWindow("My Window",30,20,200,200)

combobox=CreateComboBox(4,4,120,22,window)
AddGadgetItem combobox,"Short"
AddGadgetItem combobox,"Medium"
AddGadgetItem combobox,"Fat",True
AddGadgetItem combobox,"Humungous"

While WaitEvent()
	Select EventID()
		Case EVENT_GADGETACTION
			Print "eventdata="+EventData()
		Case EVENT_WINDOWCLOSE
			End
	End Select
Wend


Thanks - that's the one.