A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlk 2k3 Stript: How Protect Boxes ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 1st 06, 02:34 PM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default 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


  #2  
Old December 2nd 06, 04:32 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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


  #3  
Old December 4th 06, 10:29 AM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default 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




  #4  
Old December 4th 06, 10:40 AM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default 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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlk 2k3 Script: Closin an opened Excel news.microsoft.com Outlook and VBA 2 November 29th 06 08:37 PM
Outlk 2k3 Script: HtmlMail news.microsoft.com Outlook and VBA 4 November 29th 06 12:52 PM
Outlk 2k3 Script: Find and findNext use news.microsoft.com Outlook and VBA 1 November 21st 06 03:44 PM
Outlk 2k3 script: How to get the name of the month news.microsoft.com Outlook and VBA 2 November 21st 06 03:35 PM
Outlk 2k3 Script: Pb Using Find function Help plz!!! news.microsoft.com Outlook and VBA 1 November 15th 06 04:40 PM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.