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);
      o.addSelected(item);
      ... (add M other items)

In 0.8, the addSelected() method no longer exists.  All I can find for
selections pertain to using the ordinal position of an item to select it,
rather than the item itself.  In 0.8, how do I select an item if I have only
the ComboBox object and the Item object?

Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to