Prevent Text Box getting focus?
It is awkward when the Lost Focus event is used to trigger processing of user input for an application which also changes the text programmatically. The Lost Focus subroutine gets invokes when I do not need it.
I know the program can do txtBoxA.Datachanged = False and have the Lost Focus Subroutine check for data being changed. It still makes for awkward code, and sometimes an application behaves strangely because a Text Box gets and loses Focus in a manner I did not anticipate.
Is there a clean way to avoid this problem? It would be nice if there was some way to change the data in a Text box without having it get focus. I suppose this is impossible.