Hiding tabs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Groningen
    New Member
    • Aug 2006
    • 5

    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!
  • NSF12345
    New Member
    • Aug 2006
    • 21

    #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
    Last edited by NSF12345; Aug 24 '06, 10:01 AM. Reason: Spelling

    Comment

    • Groningen
      New Member
      • Aug 2006
      • 5

      #3
      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.

      Comment

      Working...