[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrolling/keeping textArea down
[Thread Prev] | [Thread Next]
- Subject: Re: Scrolling/keeping textArea down
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 23 Sep 2025 11:55:41 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 9/23/25 11:45 AM, Admin wrote: [snip]>>>
So basically .Insert does not place a cursor to the end of the text in a textArea where it inserts.
I think that if you check the value of .Pos after an .Insert(), you will see that the cursor position is indeed changed appropriately.
When I add text to a TextArea with either .Insert() or the '&=' operator, I don't even need to call .EnsureVisible(). The text is scrolled to the bottom as needed.
And now I cannot reproduce that behavior. However, .EnsureVisible() works with GTK3, Qt5, and Qt6. [snip]>> So, there should be no need to
set .Pos explicitly prior to calling .EnsureVisible().
Have you tried not setting .Pos explicitly? -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Lee <t.lee.davidson@xxxxxxxxx> |
Re: Scrolling/keeping textArea down | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Scrolling/keeping textArea down | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Lee <t.lee.davidson@xxxxxxxxx> |
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |