473,503 Members | 11,968 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding tabs on a FormControl

RSH
I am trying to upgrade an old VB 6 project to .Net. One of the things this
application has is a series of 6 tabs in a tabcontrol...BUT the tabs
themselves arent visible when you run the application...instead the only way
to go from one tab to the next is programatically. I have looked through
all the properties I can find to set the tabs themselves to invisible.
Please note: I'm not trying to hide the panel associated with the tab...just
the physical tab itself.

Thanks,
RSH
Nov 21 '05 #1
2 1473
"RSH" <wa*************@yahoo.com> schrieb:
I'm not trying to hide the panel associated with the tab...just the
physical tab itself.


Removing a tabcontrol's tabpage headers
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tabcontrolremoveheaders&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
Something like this maybe:

to remove a Tab:

TabControl1.TabPages.Remove(myTabPage1)

to add the tab back:

TabControl1.TabPages.Add(myTabPage1)

myTabPage1 is the name in this case to a particular tabpage in the Tab Control Editor (not the text on the tab itself) that you
gave to the page from inside the editor (selected from the Tab Pages Collection Elipse ( .....)

The Remove line does not destroy the tabpage just hides it.

Hope this helps.

james


"RSH" <wa*************@yahoo.com> wrote in message news:eN**************@TK2MSFTNGP12.phx.gbl...
I am trying to upgrade an old VB 6 project to .Net. One of the things this application has is a series of 6 tabs in a
tabcontrol...BUT the tabs themselves arent visible when you run the application...instead the only way to go from one tab to
the next is programatically. I have looked through all the properties I can find to set the tabs themselves to invisible.
Please note: I'm not trying to hide the panel associated with the tab...just the physical tab itself.

Thanks,
RSH

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
5262
by: Caroline Bradford | last post by:
Hi there, I wonder if there is a kind and knowledgeable person out there who can help me with a sticky problem. I have a form with a subform which shows detailed data. For complicated reasons,...
4
9860
by: Amjad | last post by:
How do I hide a tab in a TabControl that contains 3 tabs I tried the following and it didn't work tabTab2.Hide( tabTab2.Visible = Fals Amjad
1
7027
by: Turxoft | last post by:
I want to use tabcontrol in my form.I add several tab pages but want to hide the tabs.
5
3746
by: marfi95 | last post by:
I am having to resort to Mick's methods when it comes to hiding/showing tabpages of my tab control since .NET doesn't work correct. I think I have it finally workign the way I need, but because I...
135
7342
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
2
3870
by: Groningen | last post by:
Hi all, I created a frame with checkboxes in it. I also created a tabstrip with several tabs. Does anyone know if it’s possible to hide these tabs until I check the associated checkbox? Please...
8
2488
by: M K | last post by:
How do you hide individual tabs? I have tried .Hide() but it hides them all? Mark
7
3737
by: Phil Reynolds | last post by:
I'm using a tab control in Access 2000, and the user requested to have buttons in the form header, instead of the built-in tabs (so that when they scroll down, they can still switch tabs). Now,...
5
3760
by: usha535140 | last post by:
Hi, In the intial page I want to dispay a check box ie for the first time I should display the page with check box ,If the check box is checked i need to dispaly the tabcontainer with the tabs.If it...
0
7296
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7364
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1524
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.