read only

J

Joel Allen

I have this that will make a control visible:

Set ins = Item.GetInspector

Set pgs = ins.ModifiedFormPages

Set pg = pgs("PM")

Set ctls = pg.Controls

ctls("Label999").Visible = True



Is there a way to make the PM tab read only? I am unfamiliar with the code
for that.

Thank you,

Joel
 
S

Sue Mosher [MVP-Outlook]

You would need to set the Locked property of each control on that page to True, just as you've set the Visible propety.

--
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

Similar Threads


Top