Alex Rivera | Logout

How to make a textbox non-selectable using C#

Asked 2010-05-10T07:06:52.367
14

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.

Edit
Report

1 Answer

-4

This has worked just fine to me:

textBox.ReadOnly = true
answered 2012-02-24T12:09:25.977

Your Answer