[Gambas-user] TextArea positioning to bottom after adding text

Benoit Minisini gambas at ...1...
Sun Jul 4 01:32:02 CEST 2004


On Sunday 04 July 2004 00:24, 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
>
>

I will add a "EnsureVisible" method to the TextArea control in the next 
version, that will scroll the text so that the cursor is visible.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list