C
Christie Sorenson
I have designed a custom message form. It works pretty
well except that when the user replies to a message (using
the custom form), it focuses on the "To" field instead of
the "Message" field as it should.
I have wrote the following code for the custom form which
works, but it throws the security popup in 2002 and I'm
not allowed to have those:
Function Item_Open()
If item.Recipients.count > 0 then
Set ctl = GetInspector.ModifiedFormPages
("Message").Controls("Message")
ctl.setfocus
end If
End Function
Does anyone know another way to accomplish this? I am
using C# for my addin, so I don't mind doing it through
the addin, but I have not been able to get access any
further than:
(Pages)mitem.GetInspector.ModifiedFormPages;
Thank you!
Christie
well except that when the user replies to a message (using
the custom form), it focuses on the "To" field instead of
the "Message" field as it should.
I have wrote the following code for the custom form which
works, but it throws the security popup in 2002 and I'm
not allowed to have those:
Function Item_Open()
If item.Recipients.count > 0 then
Set ctl = GetInspector.ModifiedFormPages
("Message").Controls("Message")
ctl.setfocus
end If
End Function
Does anyone know another way to accomplish this? I am
using C# for my addin, so I don't mind doing it through
the addin, but I have not been able to get access any
further than:
(Pages)mitem.GetInspector.ModifiedFormPages;
Thank you!
Christie