Thanks. I will submit a bug for this as it is necessary. I'm sure the core
team thought that the selectBox would work in that scenario but when all the
controls have to look the same, changing to a different looking control just
isn't going to work.

I'll see if I can make your code work as part of a function since when the
control is created it doesn't know if it needs to be editable or not. I will
need to turn it on/off on the fly.

Thanks,
Jim


On Thu, Nov 13, 2008 at 5:16 PM, Derrell Lipman <
[EMAIL PROTECTED]> wrote:

> On Thu, Nov 13, 2008 at 7:23 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:
>
>> In 7.x there used to be a property to disable editing (setEditable(false))
>> of a ComboBox, but in .8 I don't see any way to stop the user from editing
>> the text short of setting enabled(false) which makes the dropdown not work.
>> So how can this be accomplished with the new system?
>
>
> It looks like you could do something like this:
>
> var combo = new qx.ui.form.ComboBox();
> combo.addListener("changeValue", function(e) { this.oldValue =
> this.getValue(); }, combo);
> combo.addListener("input", function(e) { this.setValue(this.oldValue); },
> combo);
>
> A bit hackish, but should work.  I'd think that you should be able to
> disable editing in a combo box.  You may want to file a bug report for it.
>
> 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
>
>
-------------------------------------------------------------------------
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