Giving Focus to a TextBox Programatically
While I thought this was as easy as calling the Focus() function, but as it turns out, you also have to make sure that the IsTabStop property is true as well.
this.mytextbox.IsTabStop = true;
this.mytextbox.Focus();
Focus Puts the Caret in the TextBox, but Keystrokes are not captured
/shrug
No comments:
Post a Comment