Form Changed

M

MDB

Hello All,

I have a problem with my forms changing. Every time I change anything on my
form, my Tab Control pages get re-arraigned. They actually appear in my
Visual Studio designer as in the correct order however, when ever I deploy,
they are in a different order. Does this make since? Here is an example

In designer:

Tab1 : Tab2 : Tab3 : Tab4

When deployed and ran on PPC:

Tab1 : Tab4 : Tab2: Tab3

In order to get them to be in the right order, I have to go into the Windows
Form Designer generated code and change the order their. This is a pain
because anytime I make a change on the form I have to keep changing this.


this.tbControlMain.Controls.Add(this.Tab1);
this.tbControlMain.Controls.Add(this.Tab2);
this.tbControlMain.Controls.Add(this.Tab3);
this.tbControlMain.Controls.Add(this.Tab4);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top