> 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
--
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 :
>> >> When adding line to textarea:
>> >> TextArea1.Text &= "Something" & gb.NewLine
>> >> Cursor jumps to column&line
> >> When adding line to textarea:
> >> TextArea1.Text &= "Something" & gb.NewLine
> >> Cursor jumps to column&line zero.
> >
> > Normal, you are assigning the Text property. Use the Insert() method
> > instead.
>
> Ok... I did it vb6 way...
> But there is still problem. Mouse click on the textar
>> When adding line to textarea:
>> TextArea1.Text &= "Something" & gb.NewLine
>> Cursor jumps to column&line zero.
>
> Normal, you are assigning the Text property. Use the Insert() method instead.
Ok... I did it vb6 way...
But there is still problem. Mouse click on the textarea mess up the
curs
> OK, two problems.
>
> When adding line to textarea:
> TextArea1.Text &= "Something" & gb.NewLine
> Cursor jumps to column&line 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
OK, two problems.
When adding line to textarea:
TextArea1.Text &= "Something" & gb.NewLine
Cursor jumps to column&line 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 :
>> Hi!
> 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 l
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 does
Absolutely nothing happens in Qt, but with GTK+ it works as expected.
It works in your system?
Jussi
2009/4/6 Benoît Minisini :
>> 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 GT
> 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
> 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 th
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 wrote:
> Did you find a solution?
Did you find a solution?
2009/4/4 Jussi Lahtinen
> 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
>
>
> --
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
--
___
Gambas
14 matches
Mail list logo