Reputation: 15
in order to select text in a textbox you need to focus into it. The problem is, after focusing and selecting the second textbox, it deselects the text in the first textbox.
Does anyone have a workaround for this?
Any help would be much appreciated.
Upvotes: 0
Views: 431
Reputation: 112632
Set the HideSelection
property of the TextBox
to false
.
myTextBox.HideSelection = false;
Of cause you can do it in the properties window as well (in the Behavior
section).
Upvotes: 2