Here is what worked for me today:
txtContent.Focus(); txtContent.SelectionLength = txtContent.Text.Length;It does not work if the TextBox does not have focus. There are other solutions, but this one is quick and easy.
No comments:
Post a Comment