Hi,

I thing that thron7 is right, setting liveUpdate property to true can help
you with this

<textfield>.setLiveUpdate(true);

Consider using HtmlEmbed instead of text area, text area can display only
text ;-)

2008/7/15 thron7 <[EMAIL PROTECTED]>:

> jhonny thio wrote:
> > Hi, i have some question...
> >
> > 1. I want to build a chat application. So I have a window with
> > textarea and textfield.
> >    But i have some problem. Every i add a new line to my text area,
> > the text area doesn't auto scroll..
> >    How to make textarea autoscroll?
>
> Try <textarea>.setOverflow("auto").
>
> >    The other problem is i can't clear the text in the textfield (I use
> > command textfield.setValue("")). So every
> >    I press enter, I want to clear the textfield and move the value to
> > the textarea. But the textfield can't
> >    be cleared. Hot to clear the textfield value?
>
> See
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.TextField~value<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.TextField%7Evalue>
> .
> You might want to toggle "liveUpdate" when you encounter an Enter key
> and send a synthetic key event to force the change. Or you use
> .getInputElement() and manipulate the input element directly.
>
> >
> > 2. Are there any qooxdoo chat application in the internet ?
>
> None that I'm aware of!?
>
> Thomas
>
> >
> > Thank you very much
> >
> >
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > 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
>
-------------------------------------------------------------------------
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