Textbox focus issue fix

Trick to force textbox with multiple lines and scrollbars to refresh itself without jumping the cursor to be at the end of the text area once that textbox had the focus
Annoying issue solved below

CodeFunctionName
What is this?

Public

Tested

Original Work
Sub Where_WeChanged_TheText()
TxtY2.Text = Texx2
TxtY2.SelStart = 0
end Sub

Private Sub TxtY2_Enter()
TxtY2.SelStart = Len(TxtY2.Text)
TxtY2.SelStart = 0
TxtY2.SetFocus
End Sub

Views 5,574

Downloads 1,551

CodeID
DB ID