Use callLater to delay setting the verticalScrollPosition.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of okegbenle mayowa
Sent: Sunday, December 16, 2007 11:02 PM
To: [email protected]
Subject: [flexcomponents] TextArea not scrolling automatically

 

hello,
've been having problems with my textarea and am going
nuts.This is the problem;
The textarea displays the conversation (its a chat
application).when the vertical scroll bar appear, i
want the vertical scroll position to always be at
maximum, so the user will always see the just-sent
message.
now the code to use is
textArea.verticalScrollPosition =
textArea.maxVerticalScrollPosition

but this is not working,ve tried all sort of tricks.
please help!!

Mayorbrain

__________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
<http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>  

 

Reply via email to