Hello Stefan,

If you have a SelectBox with the following data:

alt 1
alt 2
-----
alt3

and you don't want "-----" to be selected, there is no implementation such as 
setSelectable(boolean) or getSelectable() for the data in widgets. This can be 
easily solved instead of checking it in the listener! Because then you are able 
to group the data visually too.

Isn't that a good proposal?

We tripped over that recently, too. There is a way you can get that. Just 
disable the "---" item and the user can't select it anymore. But still, the API 
can select it if you need to (in 1.2). If you want to access all selectables, 
there is a method for that:

http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.SelectBox~getSelectables

Can that solve your problem?

Regards,
Martin
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to