Programmatically set a textbox control to read-only

  • Thread starter Thread starter Lucy
  • Start date Start date
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.
 
Back
Top