Solved

Vb.net hide Tab in TabControl

Posted on 2013-06-05
6
544 Views
Last Modified: 2013-06-06
How can hide one Tab in tabcontrol. I need hide not remove.
0
Comment
Question by:rflorencio
6 Comments
 
LVL 42

Assisted Solution

by:sedgwick
sedgwick earned 75 total points
ID: 39221896
there's no direct/simple way to hide the tab.
u need to store the current state of the tabcontrol, and then remove the tab.
check here:
http://stackoverflow.com/questions/3365025/hiding-and-showing-tabpages-in-tabcontrol
0
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 39221897
Hi,

Visible = False

Regards
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 39221907
@Rgonzo1971
tabPage have no Visible property only the tabcontrol.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Assisted Solution

by:Alex_W
Alex_W earned 75 total points
ID: 39222021
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 39222043
Remove just hide it from the display (it doesn't destroy the tab)
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 350 total points
ID: 39222054
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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