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