tabcontrol problem ? help please ...
-
hi all, i placed a tabcontrol on my form. but i want to open tabs with button clicks. so what i want is to learn how to hide or erase tabpage headers ? this image http://link.imgshare.us/82jVCE tells what i exactly want. help me please. thanks in advance, bye. ps: there may be other ways to do this but i dont know :( i want to place some buttons on the left hand side of the form and with each button click, i want to open something different (different pages) on the right hand side of that form. i though that it can be done by tabcontrol... i will appreciate your helps if you inform me whether there is other ways to do what i want or not?
-
hi all, i placed a tabcontrol on my form. but i want to open tabs with button clicks. so what i want is to learn how to hide or erase tabpage headers ? this image http://link.imgshare.us/82jVCE tells what i exactly want. help me please. thanks in advance, bye. ps: there may be other ways to do this but i dont know :( i want to place some buttons on the left hand side of the form and with each button click, i want to open something different (different pages) on the right hand side of that form. i though that it can be done by tabcontrol... i will appreciate your helps if you inform me whether there is other ways to do what i want or not?
if u have allready added the tabpages to tab control at design time then u can remove the tabpages at the time of lloading form tabControl1.TabPages.Clear(); then on button click event u can add tab pages by this way TabPage tb1 = new TabPage("XYZ"); tabControl1.TabPages.Add(tb1);
rahul
-
hi all, i placed a tabcontrol on my form. but i want to open tabs with button clicks. so what i want is to learn how to hide or erase tabpage headers ? this image http://link.imgshare.us/82jVCE tells what i exactly want. help me please. thanks in advance, bye. ps: there may be other ways to do this but i dont know :( i want to place some buttons on the left hand side of the form and with each button click, i want to open something different (different pages) on the right hand side of that form. i though that it can be done by tabcontrol... i will appreciate your helps if you inform me whether there is other ways to do what i want or not?
-
hi all, i placed a tabcontrol on my form. but i want to open tabs with button clicks. so what i want is to learn how to hide or erase tabpage headers ? this image http://link.imgshare.us/82jVCE tells what i exactly want. help me please. thanks in advance, bye. ps: there may be other ways to do this but i dont know :( i want to place some buttons on the left hand side of the form and with each button click, i want to open something different (different pages) on the right hand side of that form. i though that it can be done by tabcontrol... i will appreciate your helps if you inform me whether there is other ways to do what i want or not?
Add/Remove the
TabPage
s to/from theTabControl.TabPages
collection as needed. Or maybe put the controls in differentPanel
s orGroupBox
es that are at the same position and only show the one needed.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
hi all, i placed a tabcontrol on my form. but i want to open tabs with button clicks. so what i want is to learn how to hide or erase tabpage headers ? this image http://link.imgshare.us/82jVCE tells what i exactly want. help me please. thanks in advance, bye. ps: there may be other ways to do this but i dont know :( i want to place some buttons on the left hand side of the form and with each button click, i want to open something different (different pages) on the right hand side of that form. i though that it can be done by tabcontrol... i will appreciate your helps if you inform me whether there is other ways to do what i want or not?
I think you may try another way . i suggest you try this : place some Panel Controls . and put your Buttons on that on Left Buttons . you can do click even like that: Panel1.Visible = false; Panel2.Visible = false; Panel3.Visible = true; good luck - from a chinese fans