[Gambas-user] TextArea scrolling

Benoît Minisini gambas at ...1...
Mon May 25 19:34:35 CEST 2009


> Hi!
> I must wake up this forgotten issue...
> This is still valid problem and I got more information about it.
>
> This line of code:
> TextArea1.EnsureVisible()
> In GTK+, makes textarea to scroll down, but in Qt it in fact do
> opposite, scroll up!
> So if you haven't touch to scroll bar, it looks like it doesn't do
> anything.
>
> I think EnsureVisible should ensure that last message is visible not first.
>
>
> Jussi
>

According to the Qt/GTK+ documentation, EnsureVisible() should ensure that the 
cursor is visible, not especially the last line. Can you check the position of 
the cursor before calling EnsureVisible() ?

-- 
Benoît




More information about the User mailing list