Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Outlk 2k3 Stript: How Protect Boxes ? (http://www.outlookbanter.com/outlook-vba/34326-outlk-2k3-stript-how-protect.html)

news.microsoft.com December 1st 06 02:34 PM

Outlk 2k3 Stript: How Protect Boxes ?
 
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



Sue Mosher [MVP-Outlook] December 2nd 06 04:32 PM

Outlk 2k3 Stript: How Protect Boxes ?
 
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/comm...rogram_f orms)

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" wrote in message ...
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



news.microsoft.com December 4th 06 10:29 AM

Outlk 2k3 Stript: How Protect Boxes ?
 
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]" a écrit dans le message
de news: ...
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/comm...rogram_f orms)

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" wrote in message
...
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





news.microsoft.com December 4th 06 10:40 AM

Outlk 2k3 Stript: found ;)
 
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]" a écrit dans le message
de news: ...
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/comm...rogram_f orms)

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" wrote in message
...
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






All times are GMT +1. The time now is 08:23 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com