Hello Juan Fernando,

thanks for your reply!

Unfortunately your code doesn't work for me. item (from getModel()) is null.
Therefore i get an index -1

I have to say that i add items to the selectBox by adding ListItems. I think
this is the reason i have no model.

here is a small sample code: http://tinyurl.com/q6axt9w

Nevertheless
mySelectBox.getChildren().indexOf(mySelectBox.getSelection()[0]) works for
me.

Greetings ... Peter



-----
Sorry for my weird english
--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Get-selected-index-from-qx-ui-form-SelectBox-tp7583908p7583993.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to