VB.Net 2005 TABControl...
-
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.....
-
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.....
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
-
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
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.....
-
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.....
sounds like my second recollection is on the money. You need to remove the page from the tab control.
Christian Graus - C++ MVP
-
sounds like my second recollection is on the money. You need to remove the page from the tab control.
Christian Graus - C++ MVP
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.....
-
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.....
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.