Michael O'Dea-Jones' Blog

TabPage.Hide() doesn’t Hide the TabPage

Here's something that just got me. The TabPage.Hide() method doesn't hide the TabPage. You have to remove the TabPage from the TabControl.TabPages collection:

ProductTabControl.TabPages.Remove(PurchasingTabPage);

Top, Height, Left, Width and Show have no effect too. Read more on MSDN.

Published Monday, December 01, 2008 1:15 PM by michael@wardyit.com

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit

News

Michael is a .Net Developer who enjoys creating software and doing database work too.

Tags

No tags have been created or used yet.