Re: [qooxdoo-devel] 0.8 ComboBox: selecting an item

2008-08-20 Thread Sebastian Werner
ComboBoxes are just for assistence. Maybe you better use the SelectBox. There you also have a selected property (hint: setSelected(item)). The ComboBox is value oriented and do not allow selection of items anymore. Sebastian Derrell Lipman schrieb: > One of the treevirtual demos I'm porting u

[qooxdoo-devel] 0.8 ComboBox: selecting an item

2008-08-20 Thread Derrell Lipman
One of the treevirtual demos I'm porting uses a ComboBox. In 0.7 one could do: o = new qx.ui.form.ComboBox(); var item = new qx.ui.form.ListItem("An item"); o.add(item); ... (add N other items) var item = new qx.ui.form.ListItem("Yet another item"); o.add(item