Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB.Net 2005 TABControl...

VB.Net 2005 TABControl...

Scheduled Pinned Locked Moved Visual Basic
helpcsharp
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    momooomooomomo
    wrote on last edited by
    #1

    good day to everyone... again i badly needed your help... i encountered problem in hiding one of my tabpages in the tabcontrol. This is the code that i put: TabControl1.TabPages(1).Hide() it did not hide the tabpages(1).... pls i need your help very badly, i know its so basic for you guys but for me i already wasted two days for nothing.... pls help the simple mind.... thanks :-D

    nothing is impossible.....

    C 1 Reply Last reply
    0
    • M momooomooomomo

      good day to everyone... again i badly needed your help... i encountered problem in hiding one of my tabpages in the tabcontrol. This is the code that i put: TabControl1.TabPages(1).Hide() it did not hide the tabpages(1).... pls i need your help very badly, i know its so basic for you guys but for me i already wasted two days for nothing.... pls help the simple mind.... thanks :-D

      nothing is impossible.....

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I believe there's a visible property, which you want to set to false. If that doesn't work, I have another vague feeling that perhaps you need to remove the tab page from the tab control to hide it.

      Christian Graus - C++ MVP

      M 1 Reply Last reply
      0
      • C Christian Graus

        I believe there's a visible property, which you want to set to false. If that doesn't work, I have another vague feeling that perhaps you need to remove the tab page from the tab control to hide it.

        Christian Graus - C++ MVP

        M Offline
        M Offline
        momooomooomomo
        wrote on last edited by
        #3

        Sir, i also tried this one tabcontrol1.tabpages.item(1).hide.... still doesnt work.... visible property is only applied for the tabcontrol but for its tabpages it is not applicable... Is there other ways to hide a tabpage? how? thanks Sir Christian

        nothing is impossible.....

        C 1 Reply Last reply
        0
        • M momooomooomomo

          Sir, i also tried this one tabcontrol1.tabpages.item(1).hide.... still doesnt work.... visible property is only applied for the tabcontrol but for its tabpages it is not applicable... Is there other ways to hide a tabpage? how? thanks Sir Christian

          nothing is impossible.....

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          sounds like my second recollection is on the money.  You need to remove the page from the tab control.

          Christian Graus - C++ MVP

          M 1 Reply Last reply
          0
          • C Christian Graus

            sounds like my second recollection is on the money.  You need to remove the page from the tab control.

            Christian Graus - C++ MVP

            M Offline
            M Offline
            momooomooomomo
            wrote on last edited by
            #5

            Sir, Thank you for you idea... i did remove first the tabpage when the form load, then i insert a command to reload the tabpage in an event.... and all the controls are still there... Thank you for your kindness.... Your help is highly appreciated... Thank you again sir Christian... simple minds creates impossible things....:-D

            nothing is impossible.....

            M 1 Reply Last reply
            0
            • M momooomooomomo

              Sir, Thank you for you idea... i did remove first the tabpage when the form load, then i insert a command to reload the tabpage in an event.... and all the controls are still there... Thank you for your kindness.... Your help is highly appreciated... Thank you again sir Christian... simple minds creates impossible things....:-D

              nothing is impossible.....

              M Offline
              M Offline
              Mr Waldorf
              wrote on last edited by
              #6

              You can disable the tab page but it does not disable the tab itself. It does disable all controls on that tab page. The best way is to remove the page compeletely.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups