(Msg. 1) Posted: Wed Aug 27, 2008 9:19 am
Post subject: Programmatically set a textbox control to read-only Archived from groups: microsoft>public>outlook>program_forms (more info?)
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?
(Msg. 2) Posted: Wed Aug 27, 2008 2:46 pm
Post subject: RE: Programmatically set a textbox control to read-only [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Did you try the Locked property?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Lucy" wrote:
> 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.
(Msg. 3) Posted: Thu Aug 28, 2008 1:26 am
Post subject: RE: Programmatically set a textbox control to read-only [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
No but I have now and it works thanks again!
"Sue Mosher [MVP-Outlook]" wrote:
> Did you try the Locked property?
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook Programming: Jumpstart
> for Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx >
>
>
> "Lucy" wrote:
>
> > 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.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum