I\'m using C#/.NET for a Windows Forms application. I have a text box. How can I make the text box unselectable?
I don\'t want to disable the complete textbox.
In the 'Enter' event of the textbox set the ActiveControl to something else:
private void txtMyTextbox_Enter(object sender, EventArgs e) { ActiveControl = objMyOtherControl; }