I have tried <textarea>.setOverflow("auto"), but this command doesn't work.
Maybe I must tell again about my problem...
Every I pressed enter in my textfield, the textfield.value will move to
textarea.
If the textarea.value has bigger than the textarea size, will be shown a scroll
bar.
My problem is although there is a scroll bar, but the focus of the textarea
still in a first line..
so if I want read the newest line, I must scroll manual the focus to the the
most bottom line.
so how I can make my textarea always focus to the new line?
----- Original Message ----
From: Petr Kobalíček <[EMAIL PROTECTED]>
To: qooxdoo Development <[email protected]>
Sent: Tuesday, July 15, 2008 12:09:58 PM
Subject: Re: [qooxdoo-devel] Memo autoscroll and chat application
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.
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