Outlk 2k3 Stript: How Protect Boxes ?

  • Thread starter news.microsoft.com
  • Start date
N

news.microsoft.com

Hi All,

In my form I want to make some object In "read only" for some users

I'll check the name of outlook session and I'll allow or not to the user
to modify or not

the Task Body
item.companies
some combobox

Tks
 
S

Sue Mosher [MVP-Outlook]

A custom Outlook form? (There is a newsgroup specifically for Outlook forms issues "down the hall" at microsoft.public.outlook.program_forms or, via web interface, at http://www.microsoft.com/office/com...spx?dg=microsoft.public.outlook.program_forms)

See http://www.outlookcode.com/d/propsyntax.htm for information on how to work with control properties, including Enabled. You can't disable the message body control, though. What you could do on your custom form page is hide it and show a different control with the body text in it.


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
N

news.microsoft.com

Hi Sue,

I Dont' want to disable the body, by defaultI Have Setup the body to
ReadOnly in my Form, and all info are added automatically in the body and
no one can modify the body, It's what I wanted to do But, for few person
including me, I want to have the ability to modify the body, But I didn't
find the way to make the Body [_DocSiteControl1] to read/wtrite state
programatically


tks


"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
A custom Outlook form? (There is a newsgroup specifically for Outlook forms
issues "down the hall" at microsoft.public.outlook.program_forms or, via web
interface, at
http://www.microsoft.com/office/com...spx?dg=microsoft.public.outlook.program_forms)

See http://www.outlookcode.com/d/propsyntax.htm for information on how to
work with control properties, including Enabled. You can't disable the
message body control, though. What you could do on your custom form page is
hide it and show a different control with the body text in it.


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
N

news.microsoft.com

Hi Sue
I found it my self this time ;))))

I used the readonly property (before I tryed write / readwrite and finaly
readonly)
MyPage.Controls.("_DocSiteControl1").readonly = false


Bye

"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
A custom Outlook form? (There is a newsgroup specifically for Outlook forms
issues "down the hall" at microsoft.public.outlook.program_forms or, via web
interface, at
http://www.microsoft.com/office/com...spx?dg=microsoft.public.outlook.program_forms)

See http://www.outlookcode.com/d/propsyntax.htm for information on how to
work with control properties, including Enabled. You can't disable the
message body control, though. What you could do on your custom form page is
hide it and show a different control with the body text in it.


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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