Is there a trick to use the Hide() / Show() Methods?

Posted on 2013-10-08
Medium Priority
Last Modified: 2013-10-08
I have a Tab Control on my form that contains several TabPages. I wish to be able to view/hide them at will using the Hide() and Show() Methods but I'm not having any luck with it. Initially when my form is shown, the tabs default are that you cannot see them. I was using the code below to do this and it did what it was supposed to do.


However, when I saw the Hide() and Show() Methods, it seemed much easier to control the TabPages visibility.
Question by:BlakeMcKenna
LVL 71

Accepted Solution

Éric Moreau earned 2000 total points
ID: 39557591
once a tabpage has been removed, you can re-add it later (show) using:


Check http://emoreau.com/Entries/Articles/2004/05/The-incomplete-TabControl.aspx

Author Comment

ID: 39557747
I research a little more and found that worked. Thanks for the confirmation!

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
In the video, one can understand the process of resizing images in single or bulk. Kernel Bulk Image Resizer is an easy to use tool for resizing large number of images. One can add and resize multiple images with this tool in single go. The video sh…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question