473,780 Members | 2,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding tabpage tabs

Hi!

I've made a form with combobox and a tabcontrol.
Each time the value of combobox changes I need to show only one tabpage from
tabcontrol.
It works, but the tabcontrol bookmark of selected tabpage is visible.
I could be great if it's possible to hide it beacuse this element is useless
in my case.

Can anybody help me?
Nov 15 '05 #1
1 3886
Dmitry,

If by the bookmark of the selected tabpage is visible you mean the tab,
well, it's supposed to be visible. I think that for what you want to do,
you should have your controls on separate panels, and then set the
visibility of the panels based on the selection of the drop-down list.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dmitry Karneyev" <ka******@msn.c om> wrote in message
news:O2******** ******@TK2MSFTN GP10.phx.gbl...
Hi!

I've made a form with combobox and a tabcontrol.
Each time the value of combobox changes I need to show only one tabpage from tabcontrol.
It works, but the tabcontrol bookmark of selected tabpage is visible.
I could be great if it's possible to hide it beacuse this element is useless in my case.

Can anybody help me?

Nov 15 '05 #2

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

Similar topics

4
397
by: StressPuppy | last post by:
(posted this in VB group but then realized I probably should have posted here) I have a TabControl with several TabPages. Upon startup, I only want to show the first TabPage, hiding the rest. Then once the user does some things, I will show the other TabPages. I have tried by putting TabPage2.Hide() in the Form_Load event, but no luck. I put the same in a button to see if it was a timing issue with loading. Still nothing.
4
3490
by: Supra | last post by:
I have a tab control in a which a few of the tabs include an AxWebBrowser browser control. Let say i have currently tabpage2 and i typed url in combobox when i pressed enter it doesn't display webbrowser instead i can do create new tab. ne one knows how to display currrently displayed regardless of tabpage(s)? here is code: Public Sub AddBrowserTab() AxWebBrowser1.Visible = False Dim newPage As TabPage = New TabPage(Text) ' Delcare and...
2
1494
by: RSH | last post by:
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...
1
7072
by: Turxoft | last post by:
I want to use tabcontrol in my form.I add several tab pages but want to hide the tabs.
2
1697
by: Kevin | last post by:
Although lots of people described how to workaround the lack of ability to hide and show tab pages on a tab control, I couldnt find a code example so I made one. Create a class that inherits from the tabcontrol and then add the following Private htVisibleVal As New Hashtable Private htVisibleKey As New Hashtable Private htInvisibleKey As New Hashtable 'stores the current tabpages
5
3762
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 can show/hide up to 10 tabs, there is a lot of repainting/flickering going on and looks really bad with everything flashing all over the place. Is there a way to turn off the painting until all the tab stuff is executed and then do 1 refresh ? ...
8
2504
by: M K | last post by:
How do you hide individual tabs? I have tried .Hide() but it hides them all? Mark
2
2914
by: Jeff | last post by:
..NET 2.0 How do I in the DrawItem event of a TabControl measure how wide the area displaying TabPage.Text need to be?? For example I've got a tabpage with the text property set to "hello world", when I run this code it only displays "hello wo" any suggestions on how to fix this are most welcome
3
2489
vavc1980
by: vavc1980 | last post by:
Hello, I'm working on a windows application with C#, I reorganized a screen using the TabControl with 3 TabPages. Here's my problem, when I want to do something (printing, reading, etc) with a control in any TabPage that has not been opened (clicked on), I got nothing, the controls at this point have not been created, not until I click (manually or programatically) on the TabPage. Right now I have it working going through all tabpages...
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9931
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5504
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
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 we have to send another system
2
3632
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.