Posted 18 years ago
by shark92651

I am trying to hide tabbed DocumentWindow controls but when I call the Hide() method or set the Visible property of the DocumentWindow to false, the contents of the tab page are removed and the tab remains visible.
I can simulate the behavior I desire by un-parenting the form contained by the DocumentWindow and then disposing the DocumentWindow. When I want to show the tabbed form again, I create a new DocumentWindow to parent the form. This takes too long.
Is there a way to hide the tab without disposing it?
Thanks
I can simulate the behavior I desire by un-parenting the form contained by the DocumentWindow and then disposing the DocumentWindow. When I want to show the tabbed form again, I create a new DocumentWindow to parent the form. This takes too long.
Is there a way to hide the tab without disposing it?
Thanks