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

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

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

Views 163 Downloads 61

Perm link