TabControl

  • Thread starter Thread starter scorpion53061
  • Start date Start date
S

scorpion53061

The tabcontrol I create for whatever reason, when I view the collection in
Visual studio is in the correct order but if I should make a modification to
the collection it no longer is in the right order after rebuild. Is there a
way to fix this without reentering them all?
 
* "scorpion53061 said:
The tabcontrol I create for whatever reason, when I view the collection in
Visual studio is in the correct order but if I should make a modification to
the collection it no longer is in the right order after rebuild. Is there a
way to fix this without reentering them all?

There are known problems with the tabcontrol -- sometimes it "shuffles"
the tabpages. AFAIK there is no fix available for this problem.
 
Well that's not good..........

Herfried K. Wagner said:
There are known problems with the tabcontrol -- sometimes it "shuffles"
the tabpages. AFAIK there is no fix available for this problem.
 
Herfried,

Just so you know (if you didnt know already) by going in the WFDG code and
rearranging the order and everything seems fine again at least it does at
this time.

in message news:[email protected]...
 
* "scorpion53061 said:
Just so you know (if you didnt know already) by going in the WFDG code and
rearranging the order and everything seems fine again at least it does at
this time.

I don't know if there is more than one reason for this bug, but it
_will_ maybe occur and destroy the order in future.

;-(
 
gotcha...

Herfried K. Wagner said:
I don't know if there is more than one reason for this bug, but it
_will_ maybe occur and destroy the order in future.

;-(
 
In your Form_Load event: delete all the pages in the Tab Control, and then
add them back (in code) in the order that you want them to appear (left to
right) and it will place them in that order every time.
Dean Slindee
 
Back
Top