[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: Admin <admin@xxxxxxxxxx>
- Date: Tue, 23 Sep 2025 22:43:28 +0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Also, in my main program it actually does not matter. When I scroll textarea down, I see my cursor in the end of the text, there it is, blinking, but EnsureVisible just doesn't scroll me there.
23.09.2025 22:34, Admin пишет:
Ok, so I just tested this in a new clean app.I created a textArea filled with "all work and no play makes jack a dull boy" lines so that the right (and only) scrollbar would be, like, one-third of all textThen I created a button: Public Sub Button1_Click() TextArea1.Insert(" ") TextArea1.EnsureVisible End If I just press the button, nothing happens.If I manually place a cursor in the bottom of a textArea and scroll it back up and then press a button, sure enough it scrolls right down.So basically .Insert does not place a cursor to the end of the text in a textArea where it inserts.
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> |