[program-l] Re: Winforms: Constantly refreshing content in a textbox

  • From: "Andy Borka" <sonfire11@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Thu, 22 Apr 2021 15:04:16 -0400

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,



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?




** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: