Thanks!
This solution works in my case:
TextArea1.Text = Something gb.NewLine
TextArea1.Pos = TextArea1.Length
TextArea1.EnsureVisible()
Jussi
2009/5/25 Benoît Minisini gam...@users.sourceforge.net:
When adding line to textarea:
TextArea1.Text = Something gb.NewLine
Cursor jumps to
Thanks!
This solution works in my case:
TextArea1.Text = Something gb.NewLine
TextArea1.Pos = TextArea1.Length
TextArea1.EnsureVisible()
Jussi
Using TextArea1.Insert() is better and faster.
Regards,
--
Benoît
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
OK, two problems.
When adding line to textarea:
TextArea1.Text = Something gb.NewLine
Cursor jumps to columnline zero.
Other problem is that I need propertie ReadOnly to be True,
and then at least the cursor is not visible if there even is one.
Jussi
2009/5/25 Benoît Minisini
OK, two problems.
When adding line to textarea:
TextArea1.Text = Something gb.NewLine
Cursor jumps to columnline zero.
Normal, you are assigning the Text property. Use the Insert() method instead.
Other problem is that I need propertie ReadOnly to be True,
and then at least the cursor
Did you find a solution?
2009/4/4 Jussi Lahtinen jussi.lahti...@gmail.com
Hi!
How I can automatically scroll down textarea?
So that the last message printed to textarea is always showing,
without user have to scroll down?
Regards,
Jussi
I was just writing about this issue!
It turn out to be bug!
This works on GTK+, but not with Qt;
TextArea1.EnsureVisible()
So, if you are using GTK+ you have your solution... If not, you must
wait for fix.
Jussi
On Mon, Apr 6, 2009 at 17:13, Joshua Higgins joshigg...@googlemail.com wrote:
I was just writing about this issue!
It turn out to be bug!
This works on GTK+, but not with Qt;
TextArea1.EnsureVisible()
So, if you are using GTK+ you have your solution... If not, you must
wait for fix.
Jussi
It's the contrary: The EnsureVisible() method should not be there. :-)
I was just writing about this issue!
It turn out to be bug!
This works on GTK+, but not with Qt;
TextArea1.EnsureVisible()
So, if you are using GTK+ you have your solution... If not, you must
wait for fix.
Jussi
Forget my other mail: the EnsureVisible() method is perfectly valid, but
Absolutely nothing happens in Qt, but with GTK+ it works as expected.
It works in your system?
Jussi
2009/4/6 Benoît Minisini gam...@users.sourceforge.net:
I was just writing about this issue!
It turn out to be bug!
This works on GTK+, but not with Qt;
TextArea1.EnsureVisible()
So, if
10 matches
Mail list logo