Hi,
Doing anything with the caret via the keyboard produces a frozen caret. We
can't move it during the refresh, the refresh puts it at the start of the
content, or the end of the content. Otherwise, keyboard navigation is
impossible during refresh cycles. I am trying a 1 minute timer to see if
slowing down the timer helps.
-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf
Of Hamid Vasheghani Farahani
Sent: Thursday, April 22, 2021 3:01 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Winforms: Constantly refreshing content in a textbox
Maybe you should highlight the first character at every text changed event.
On 4/22/21, Andy Borka <sonfire11@xxxxxxxxx> wrote:
Hi,** To leave the list, click on the immediately-following link:-
I have a need to constantly update the contents of a textbox because
users want real time display of the data it holds. I am running into a
few
problems:
* When putting the textbox on a timer that refreshes the contents, the
keyboard focus is put at the end of the content on every refresh.
* I tried saving and then restoring cursor position during the refresh
cycle, but it freezes the keyboard focus at the top of the content.
I want the refresh feature, but the user has to navigate with the
standard screen reader reading keys. Anyone know how to do this?