How do you hide individual tabs? I have tried .Hide() but it hides them
all?
Mark 8 2496
* M K wrote, On 6-7-2007 22:08:
How do you hide individual tabs? I have tried .Hide() but it hides them
all?
Mark
You need to remove the tab in question from the list of tabs of the tab
control.
To show the tab again, just add it to the tabcontrol again.
Jesse
after further investigation your vagueness did help me some.
I didnt realize there was a TabControl and that was the main control and
TabPages were part of that control.
tabControl.Cont rols.Remove(tab Page); // was what i was hoping would get
posted now that i have figured it out
"Jesse Houwing" <je***********@ nospam-sogeti.nlwrote in message
news:Ou******** ******@TK2MSFTN GP05.phx.gbl...
>* M K wrote, On 6-7-2007 22:08:
>How do you hide individual tabs? I have tried .Hide() but it hides them all?
Mark
You need to remove the tab in question from the list of tabs of the tab
control.
To show the tab again, just add it to the tabcontrol again.
Jesse
"M K" <sk************ ********@yahoo. comwrote in message
news:Xh******** *********@newsr ead3.news.pas.e arthlink.net...
after further investigation your vagueness did help me some.
The response was only as vague as your question.
PS
>
I didnt realize there was a TabControl and that was the main control and
TabPages were part of that control.
tabControl.Cont rols.Remove(tab Page); // was what i was hoping would get
posted now that i have figured it out
>
"Jesse Houwing" <je***********@ nospam-sogeti.nlwrote in message
news:Ou******** ******@TK2MSFTN GP05.phx.gbl...
>>* M K wrote, On 6-7-2007 22:08:
>>How do you hide individual tabs? I have tried .Hide() but it hides them all?
Mark
You need to remove the tab in question from the list of tabs of the tab control.
To show the tab again, just add it to the tabcontrol again.
Jesse
Your thanks were sufficient...
"M K" wrote:
after further investigation your vagueness did help me some.
I didnt realize there was a TabControl and that was the main control and
TabPages were part of that control.
tabControl.Cont rols.Remove(tab Page); // was what i was hoping would get
posted now that i have figured it out
"Jesse Houwing" <je***********@ nospam-sogeti.nlwrote in message
news:Ou******** ******@TK2MSFTN GP05.phx.gbl...
* M K wrote, On 6-7-2007 22:08:
How do you hide individual tabs? I have tried .Hide() but it hides them
all?
Mark
You need to remove the tab in question from the list of tabs of the tab
control.
To show the tab again, just add it to the tabcontrol again.
Jesse
Thanks..
i personally didnt think my post was vague. Guess I should have put. need
the code for...
I always start with MSDN and if they don't provide me the correct answer I
do a web search and if i cant find the answer that way i then post. Lots of
times I do get vague answers and i would assume (dont go there :) ) that if
my post was vague then i would be asked to clarify ... which i didnt get
asked in this case.. :)
again thanks
"PS" <ec***********@ hotmail.comwrot e in message
news:uv******** ********@TK2MSF TNGP05.phx.gbl. ..
>
"M K" <sk************ ********@yahoo. comwrote in message
news:Xh******** *********@newsr ead3.news.pas.e arthlink.net...
>after further investigation your vagueness did help me some.
The response was only as vague as your question.
PS
>> I didnt realize there was a TabControl and that was the main control and TabPages were part of that control.
tabControl.Con trols.Remove(ta bPage); // was what i was hoping would get posted now that i have figured it out
>> "Jesse Houwing" <je***********@ nospam-sogeti.nlwrote in message news:Ou******* *******@TK2MSFT NGP05.phx.gbl.. .
>>>* M K wrote, On 6-7-2007 22:08: How do you hide individual tabs? I have tried .Hide() but it hides them all?
Mark
You need to remove the tab in question from the list of tabs of the tab control.
To show the tab again, just add it to the tabcontrol again.
Jesse
On Mon, 09 Jul 2007 10:07:06 -0700, M K <sk************ ********@yahoo. com>
wrote:
i personally didnt think my post was vague. [...]
Your original post was not so vague that it prevented an answer. And
frankly, Jesse's post was not so vague that it prevented it from being
useful to you.
Neither post was detailed, but both were specific enough to convey the
information needed and neither was vague enough for there to be any point
complaining about vagueness. I leave it as an exercise for the reader to
review the previous posts in this thread to see who made an unnecessary
complaint about vagueness.
Pete
ok point noted :)
"Peter Duniho" <Np*********@nn owslpianmk.comw rote in message
news:op******** *******@petes-computer.local. ..
On Mon, 09 Jul 2007 10:07:06 -0700, M K <sk************ ********@yahoo. com>
wrote:
>i personally didnt think my post was vague. [...]
Your original post was not so vague that it prevented an answer. And
frankly, Jesse's post was not so vague that it prevented it from being
useful to you.
Neither post was detailed, but both were specific enough to convey the
information needed and neither was vague enough for there to be any point
complaining about vagueness. I leave it as an exercise for the reader to
review the previous posts in this thread to see who made an unnecessary
complaint about vagueness.
Pete
* M K wrote, On 9-7-2007 20:29:
ok point noted :)
"Peter Duniho" <Np*********@nn owslpianmk.comw rote in message
news:op******** *******@petes-computer.local. ..
>On Mon, 09 Jul 2007 10:07:06 -0700, M K <sk************ ********@yahoo. com> wrote:
>>i personally didnt think my post was vague. [...]
Your original post was not so vague that it prevented an answer. And frankly, Jesse's post was not so vague that it prevented it from being useful to you.
Neither post was detailed, but both were specific enough to convey the information needed and neither was vague enough for there to be any point complaining about vagueness. I leave it as an exercise for the reader to review the previous posts in this thread to see who made an unnecessary complaint about vagueness.
Pete
You're welcome then ;)
Jesse
(who had just came home late and no Visual studio at hand to verify
exact syntax) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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, which I won't go into, the detail which I require
cannot be determined programmatically, so I planned to have two
subforms, identical in design but with slightly different data,
dependent on a criterion in the main form. Both will sit on the...
|
by: Mark C |
last post by:
I have yet another problem with the infamous tab control in my Access 97
database. I have a form with a tab control with 4 tabs on each tab is a sub
form bound to a form. When the main form loads the vertical scroll bar moves
the main form down just low enough to were one can't see the tabs on the tab
control. Once you scroll back to the top of the main form and click on one
of the four tabs the sub form on that tab becomes visible but the...
|
by: Jim Hubbard |
last post by:
I need an example of tabs usage like you might do in a tabbed browser
application.
I need to be able to open one or more tabs with customer data. Every tab is
laid out exactly alike, only the customer data changes from tab to tab.
Tabs should be able to be created at the front of all tabs, back of all tabs
or between any 2 tabs. Double-clicking a tab should delete it.
Double-clicking on the tab control (but NOT on a tab) should create...
|
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...
|
by: Turxoft |
last post by:
I want to use tabcontrol in my form.I add several tab pages but want to hide
the tabs.
| |
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 ? ...
|
by: ADezii |
last post by:
One frequently asked question at TheScripts is how to set focus/make active a specific Tab on a Tab Control other than clicking on it. Before I provide the answer, I feel as though a little summary information would be most helpful.
__1. An individual Tab on a Tab Control is actually a Page Object. For this discussion, we will use the terms Tab/Page interchangeably, however.
__2. Each Page Object is a member of the Pages Collection which...
|
by: ADezii |
last post by:
One frequently asked question at TheScripts is how to set focus/make active a specific Tab on a Tab Control other than clicking on it. Before I provide the answer, I feel as though a little summary information would be most helpful.
__1. An individual Tab on a Tab Control is actually a Page Object. For this discussion, we will use the terms Tab/Page interchangeably, however.
__2. Each Page Object is a member of the Pages Collection which...
|
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, this works fine. However,
when I'm in Design View, I can't access the tabs without changing the tab
control's Style back to Tabs. But I want to be able to place controls in
that space at the top where the tabs used to be. But if I need to turn the...
|
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...
|
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,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |