Hi David,
ComboBox or ComboBoxEx?
For ComboBox I think you just have to manipulate combo.getChildren()
For ComboBoxEx:
1. combo.setSelection([])
2. combo.setSelectedIndex(combo.getSelectedIndex()+1)
3. var data = combo.getSelection();
for (var i = 0; i < data.length; i++)
....
johnl-4 wrote:
>
> I'm trying to figure out the best way to perform the following
> operations on a combo box:
>
> 1. Clearing the list
> 2. Programmatically moving forward and backward in the list
> 3. Looping through the list.
>
> If anyone has any examples, that's be great.
>
> Thanks.
>
> David
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/Combo-box-questions-tf3947883.html#a11208085
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel