Connecting Tech Pros Worldwide Forums | Help | Site Map

Hiding tabs

Newbie
 
Join Date: Aug 2006
Posts: 5
#1: Aug 24 '06
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!

Newbie
 
Join Date: Aug 2006
Posts: 21
#2: Aug 24 '06

re: Hiding tabs


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
Newbie
 
Join Date: Aug 2006
Posts: 5
#3: Aug 24 '06

re: Hiding tabs


Quote:

Originally Posted by NSF12345

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.
Reply


Similar Visual Basic 4 / 5 / 6 bytes