B
Bill Brown
My task pane has buttons to access various views within my form. I want to be
able to hide the buttons depending on a routing code field within the form.
Is there a way to access the document object in the task pane?
I tried using:
set objHTMLdoc = XDocument.View.Window.TaskPanes(0).HTMLDocument
objHTMLdoc.all.mybutton.style.display = "none"
but get an object required error.
This is run out of the onswitchview event which is called from the onload
event.
able to hide the buttons depending on a routing code field within the form.
Is there a way to access the document object in the task pane?
I tried using:
set objHTMLdoc = XDocument.View.Window.TaskPanes(0).HTMLDocument
objHTMLdoc.all.mybutton.style.display = "none"
but get an object required error.
This is run out of the onswitchview event which is called from the onload
event.