In your Form/GUI editor (where you can drag & drop controls onto the form etc) click on your TabControl control.
In the list of properties for the tab control, there will be one called "Alignment" and you can change these so that the tabs appear on either the left or right side of the control.
You can also manipulate the tab location in code by doing something like (NB. tabControl1 is the name of my control):
tabControl1.Alignment = TabAlignment.Top; //Tabs on
top tabControl1.Alignment = TabAlignment.Left; //Tabs
on the left tabControl1.Alignment = TabAlignment.Right; //Tabs
on the right tabControl1.Alignment = TabAlignment.Bottom;
//Tabs on the bottom
I think it's much easier to change the location of the tabs using the Form/GUI editor though.
help with TabControl
Al_Ski
In your Form/GUI editor (where you can drag & drop controls onto the form etc) click on your TabControl control.
In the list of properties for the tab control, there will be one called "Alignment" and you can change these so that the tabs appear on either the left or right side of the control.
You can also manipulate the tab location in code by doing something like (NB. tabControl1 is the name of my control):
tabControl1.Alignment = TabAlignment.Top; //Tabs on top
I think it's much easier to change the location of the tabs using the Form/GUI editor though.tabControl1.Alignment = TabAlignment.Left; //Tabs on the left
tabControl1.Alignment = TabAlignment.Right; //Tabs on the right
tabControl1.Alignment = TabAlignment.Bottom; //Tabs on the bottom
Hope that helps a bit, but sorry if it doesn't
Koltron
hi,
plz mark the reply as answer
best regards
suparna_tech