BlakeMcKenna
asked on
Is there a trick to use the Hide() / Show() Methods?
I have a Tab Control on my form that contains several TabPages. I wish to be able to view/hide them at will using the Hide() and Show() Methods but I'm not having any luck with it. Initially when my form is shown, the tabs default are that you cannot see them. I was using the code below to do this and it did what it was supposed to do.
tabTests.TabPages.Remove(t abCreepTes t)
tabTests.TabPages.Remove(t abShuntTes t)
tabTests.TabPages.Remove(t abElectric alTest)
tabTests.TabPages.Remove(t abRecovery Test)
tabTests.TabPages.Remove(t abRepeatab ilityTest)
tabTests.TabPages.Remove(t abReproduc abilityTes t)
However, when I saw the Hide() and Show() Methods, it seemed much easier to control the TabPages visibility.
tabTests.TabPages.Remove(t
tabTests.TabPages.Remove(t
tabTests.TabPages.Remove(t
tabTests.TabPages.Remove(t
tabTests.TabPages.Remove(t
tabTests.TabPages.Remove(t
However, when I saw the Hide() and Show() Methods, it seemed much easier to control the TabPages visibility.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER