Hi!
I have a combobox with 4 items and just want to set it to -1 state = unselected, so that the combobox displays an empty field then.
How to do that?
I have a combobox with 4 items and just want to set it to -1 state = unselected, so that the combobox displays an empty field then.
Strict Local window:TGadget Local combobox:TGadget window=CreateWindow("My Window",30,20,200,200) combobox=CreateComboBox(4,4,120,22,window) AddGadgetItem combobox,"Item 1" AddGadgetItem combobox,"Item 2" AddGadgetItem combobox,"Item 3" AddGadgetItem combobox,"Item 4" While WaitEvent() Select EventID() Case EVENT_GADGETACTION Print "eventdata="+EventData() Case EVENT_WINDOWCLOSE End End Select Wend
How to do that?