read only

  • Thread starter Thread starter Joel Allen
  • Start date Start date
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
 
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
 
Back
Top