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

Re: Scrolling/keeping textArea down


Il 25/09/25 02:39, Lee ha scritto:
On 9/24/25 4:50 PM, Gianluigi wrote:
Hi Lee,

I noticed that the difference between QT and GTK regarding Button.Default is that if you hold down the Return key in QT, the text repeats until you release the key, while in GTK, the text is written only after you release the key.
You can verify this with this code:

Public Sub Form_Open()

   TextBox1.Text = "Any text"

End

Public Sub Button1_Click()

   Print "CLICK";; TextBox1.Text

End

Regards
Gianluigi

Confirmed. Perhaps that is why you got multiple insertions into the TextArea while I didn't. One of us has heavier fingers :-P


:-)

More than heavy fingers, the keyboard's sensitivity is what matters; with the Dell, I get only one click, with the Logitech, two.
Anyway, the GTK behavior seems more logical.

Regards
Gianluigi


References:
Scrolling/keeping textArea downBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Scrolling/keeping textArea downBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Scrolling/keeping textArea downGianluigi <gradobag@xxxxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>
Re: Scrolling/keeping textArea downGianluigi <gradobag@xxxxxxxxxxx>
Re: Scrolling/keeping textArea downGianluigi <gradobag@xxxxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>