[Gambas-user] TextArea positioning to bottom after adding text
Brant Wells
bwells at ...475...
Mon Jul 5 14:42:37 CEST 2004
Hey Hans:
You could just insert this one line in the TextArea_CHANGE event...
textarea1.Select(Len(txtlog.text),1)
It moves it to the end of the text area.
HTH!
[Hope That Helps!]
~Brant
Hans-Martin Bundeshund wrote:
>Salute!
>
>I wrote a little chat-application using mysql (nice, because this app uses
>already mysql-support, so I dont need any net-code for communication ;) ) .
>
>But one problem ist still left:
>After a user inserts and send a message-text, I add this text to the TextArea
>where all message-text from all users is shown. But the TextArea don't know
>that the new text is hidden and now it has to scroll to the bottom showing
>the new incoming text.
>
>Any suggestions how to?
>
>Thanks and best regards,
>
>HM
>
>
>
>
More information about the User
mailing list