473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Hiding tabs

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 3862
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
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
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
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
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...
2
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...
1
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
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
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...
8
by: M K | last post by:
How do you hide individual tabs? I have tried .Hide() but it hides them all? Mark
5
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...

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.