[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Scrolling/keeping textArea down
[Thread Prev] | [Thread Next]
- Subject: Scrolling/keeping textArea down
- From: Admin <admin@xxxxxxxxxx>
- Date: Tue, 23 Sep 2025 20:13:01 +0700
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
Also, continuing this chat-style-program discussion, with your help I understood the sending request from a textfield using Enter key, and now I wonder if there's a way to keep textArea scrolled down. Kinda obvious question maybe. But if my chat log is in [read-only] textArea, the text adds and adds and soon I need to scroll the textArea down to be able to read it. I did what seemed obvious to me after text is added to a Response textArea:
Response.Pos = MaximResponse.Length Response.EnsureVisible()But that does not work the way I want it to, and I googled a lot and found out why. With all this differences in QT and GTK I can understand why, but still...
Isn't there a way to just simply scroll an element that has scrollbars? I mean by the code, not mouse. I guess not, because it is not in those toolkits, right? I kinda wonder why not?
Dmitry.
Re: Scrolling/keeping textArea down | Lee <t.lee.davidson@xxxxxxxxx> |