Programmatically set a textbox control to read-only

L

Lucy

Hi,

I am creating an VSTO Add-in in C#. I have some textboxes on my custom form
that I want to programmatically set to read-only in my code. I am using
Microsoft.Vbe.Interop.Forms. I have looked under the
Microsoft.Vbe.Interop.Forms.Control interface and the
Microsoft.Vbe.Interop.Forms.TextBox interface properties for a 'Read-only'
property but cannot find one. Can anyone help me?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top