[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrolling/keeping textArea down (episode III)


Il 29/09/25 01:43, Benoît Minisini ha scritto:
I have no idea what you are talking about. Again, QT component code and GTK+ component code are not related at all, and I only fixed the GTK+ components. Nothing changed in the QT component.


@Benoit
I mentioned it here with an attached image:
https://lists.gambas-basic.org/archive/user/2025-09/0000083.html

@Admin
Before Benoit's intervention, Lee and I had chosen this code, which works for all libraries:

[code]
Public Sub Button1_Click()
  ' chosen as the final code
  If TextBox1.Text Then TextArea1.Text &= "\n\n" & TextBox1.Text
  TextBox1.Clear
  Wait ' or Wait 0.1
  TextArea1.SetFocus ' <--- THIS
  TextArea1.EnsureVisible

End
[code]

Regards
Gianluigi


Follow-Ups:
Re: Scrolling/keeping textArea down (episode III)Admin <admin@xxxxxxxxxx>
References:
Scrolling/keeping textArea down (episode III)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Scrolling/keeping textArea down (episode III)Lee <t.lee.davidson@xxxxxxxxx>
Re: Scrolling/keeping textArea down (episode III)Gianluigi <gradobag@xxxxxxxxxxx>
Re: Scrolling/keeping textArea down (episode III)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>