How to remove tab from form?

T

TrieTech

Hello Guys!

I've added custom tab using Inspector::GetModifiedFormPages::Add
and have modified it using MSForms interfaces. That additional tab
contains WebBrowser control managed by my COM Add-in.

Well that's all right with that additional tab until closing.

On closing Inspector I need to remove (or clear and hide) that custom
tab. But when I call Inspector::GetModifiedFormPages - it returns 0
forms in collection. Moreover, when I try to use HideFormPage method in
Close event it returns E_INVALIDARG.

I've checked twice that name passed to HideFormPage is the same that
was passed to Add method when I created the form. I wonder what reason
of such a behavior. I'm trying to hide that tab in Inspector::Close
event - may be problem is there?

Thanks in forward for your suggestions!

Best regards, Maxim Tebenev.
TrieTech (http://www.trietech.com)
 

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