473,569 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding tabs

5 New Member
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 advice me. Thanks!
Aug 24 '06 #1
2 3874
NSF12345
21 New Member
cant you just put TabName.visible =false or TabName.hide to hide the Tabs and TabName.visible =true or TabName.show to show the Tabs? Also...

on the Check box, do an OnClick event that says:

If ChkName.value=1 then
'Runs code if the checkbox is ticked to show tab
else
'Runs code if the checkbox is not ticked to hide tab
end if

Thats what i would do. Give it a try and let us know if it works
Aug 24 '06 #2
Groningen
5 New Member
cant you just put TabName.visible =false or TabName.hide to hide the Tabs and TabName.visible =true or TabName.show to show the Tabs? Also...

on the Check box, do an OnClick event that says:

If ChkName.value=1 then
'Runs code if the checkbox is ticked to show tab
else
'Runs code if the checkbox is not ticked to hide tab
end if

Thats what i would do. Give it a try and let us know if it works
Thank you very much. I found another solution.
I've removed the tab strip and replaced it into a SSTab. I've changed the source code and when I click a check box, the tap will appear. When I uncheck this box, the tap will disappear.
Aug 24 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
5269
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...
4
9871
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
1497
by: genojoe | last post by:
In Microsoft Access, I use Application.Echo False ......code that causes form to flash Application.Echo True to hide intermediate actions while a form is visible. I cannot find an equivalent command in VB.Net. Specifically, I am changing tabs on the form and I see significant flashing before reaching the final view.
2
1484
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...
1
7037
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
3753
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...
135
7399
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 which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the...
8
2493
by: M K | last post by:
How do you hide individual tabs? I have tried .Hide() but it hides them all? Mark
5
3763
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 is unchecked It should nt display any thing. I tried the following apporach : in aspx page for all the tabs of the container I used...
0
7698
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...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8122
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
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...
0
5219
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...
0
3653
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...
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
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...

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.