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
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"news.microsoft.com" <bbn...@yahoo.fr> wrote in message news:%23IAI41U...@TK2MSFTNGP03.phx.gbl...
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]" <sue...@outlookcode.com> a écrit dans le message
de news: ujN32ciF...@TK2MSFTNGP05.phx.gbl...
I used the readonly property (before I tryed write / readwrite and finaly
readonly)
MyPage.Controls.("_DocSiteControl1").readonly = false
Bye
"Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com> a écrit dans le message
de news: ujN32ciF...@TK2MSFTNGP05.phx.gbl...