coding the message read form

C

captainjsw

Hi I'm trying to add some code to the read page of a custom form.
I need to lock the text to ensure the text cannot be copied.
I can do this with the compose form with a textbox with something like

textbox1.locked = true
textbox1.enabled = false

When the form is sent the message body is then available to be copied.
I need to access the textbox on the read page. If I name it textbox2
the code cannot find the object.
I'm using
Set TextBox2 =
Item.GetInspector.ModifiedFormPages.Item("Message").Controls("Textbox2")

But this only seems to work on the compose page.

Anyone know how to do this

Thanks in advance

John
 

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

Top