TabControl ?????!!!

  • Thread starter Thread starter Mitch
  • Start date Start date
M

Mitch

Can someone please explain to me whats up with the TabControl in CF .net
(VB) ??!! I've been beating my head trying to find out why in the @#$@ all
the tabs keep swapping around on me. It happens on occasion in the ide, but
more so in the program when run from either the debugger or on the ppc
itself!!!!!

I can't find anywhere in my app that causes this - especially when it
happens in the IDE.

OF COURSE, I can't find any reference to it on Microsoft's site either.
"Don't admit to problems, don't answer the phones (for free) and maybe
they'll just go away -- after they've paid us."

Sorry, I"m extremely frustrated - hours of my time thats best needed
elsewhere wasted on this. I really feel this is a bug on ms's behalf.

Can someone point me to any reference by Microsoft on this issue? Am I
washed up on this one?

Better at this point, is there a fix? workaround? other than not using the
control - I'm already committed (or should be at this point - committed).

Thanks.

Mitch
 
Well it's getting more organized and he's doing it for free, so I can't
complain too much....

I've modified the original page to redirect instead of simply being
deprecated. Hopefully we'll do that with all of them so old links continue
to work.

-Chris
 
Mitch,

A designer bug causes the re-ordering of the TabControl's tabs whenever you
change anything in the TabControl area.

A manual way of fixing it each time you know that you have changed something
there, is to expand the
"Windows Form Designer generated code" region and go down to the TabControl
code that VS .NET generates where you see a series of
TabControl.Controls.Add(xx), like
"this.yourTabControl.Controls.Add(this.yourTabPage); ".

Just manually re-order then from top to bottom in the order your require,
save then compile and you are set.

At this time, I have not implemented the software solution used by others
but instead just check the TabControl order whenever I make changes in that
area and re-order it, using the steps above, if I have to. This is just
another way of getting around it.

Regards,
Neville Lang
 
This works!!! Thank you!

Neville Lang said:
Mitch,

A designer bug causes the re-ordering of the TabControl's tabs whenever
you
change anything in the TabControl area.

A manual way of fixing it each time you know that you have changed
something
there, is to expand the
"Windows Form Designer generated code" region and go down to the
TabControl
code that VS .NET generates where you see a series of
TabControl.Controls.Add(xx), like
"this.yourTabControl.Controls.Add(this.yourTabPage); ".

Just manually re-order then from top to bottom in the order your require,
save then compile and you are set.

At this time, I have not implemented the software solution used by others
but instead just check the TabControl order whenever I make changes in
that
area and re-order it, using the steps above, if I have to. This is just
another way of getting around it.

Regards,
Neville Lang
 
Back
Top