Tab control ?

  • Thread starter Thread starter John S
  • Start date Start date
J

John S

When I change the "text" property of the TabPages collection, it seems that
Visual Studio rearranges the Tab order. Does anyone know how I can prevent
this?
 
after you change the "text" property, go to "Windows Form Designer generated
code" section in .cs file, there you have to rearrange the Tab order.

for example:
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
Regards,
Amal
 
Back
Top