473,395 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

TabControl

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?
Nov 20 '05 #1
6 998
* "scorpion53061" <sc****************************@yahoo.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Well that's not good..........

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bq*************@ID-208219.news.uni-berlin.de...
* "scorpion53061" <sc****************************@yahoo.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3
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:bq*************@ID-208219.news.uni-berlin.de...
* "scorpion53061" <sc****************************@yahoo.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #4
* "scorpion53061" <sc****************************@yahoo.com> scripsit:
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.

;-(

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5
gotcha...

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bq*************@ID-208219.news.uni-berlin.de...
* "scorpion53061" <sc****************************@yahoo.com> scripsit:
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.

;-(

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #6
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
"scorpion53061" <sc****************************@yahoo.com> wrote in message
news:#2**************@TK2MSFTNGP11.phx.gbl...
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?

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tamir Khason | last post by:
How be able to manage more deeply UI of TabControl and TabPage For example - I want to manage border color, change color of TabPage reef, eliminate spaces from both sides of the reef, so I bould...
2
by: Patrick McGuire | last post by:
I want to place a tabControl with almost identical properties on several forms. I think the best way is to define a UserControl that inherits System.Windows.Forms.TabControl, and place all my...
9
by: Michael Turner | last post by:
Hi Guys Having problem with the tab control, I need to set the background color to something different than the standard, I have found code on the web and now can redraw the tabpage buttons so...
5
by: Zadkin | last post by:
Does anyone know, if it's possible to set the orientation of the tabpagebuttons to horizontal instead of vertical when the alignment property of my tabcontrol is set to left or right? Thanks in...
2
by: Simon Verona | last post by:
I have a few hundred forms in my application. All are based on a custom base form class. I decided that I wanted to globally change the look and feel of many of the controls in my application -...
2
by: Gav | last post by:
I am writing an application where I will have a TabControl and 3 styles of Tabs to go in it, each containing different controls. The tabs will be added to the tabcontrol when items are clicked on...
1
by: =?Utf-8?B?QWxleCBLLg==?= | last post by:
Hi all In a Visual Studio 2005 C# project, I have a simplest tabcontrol with two tabpages. When I set tab control's Alignment property to Right, tab texts (captions) disappear. Does anybody...
0
by: bertie78 | last post by:
Hi all, New poster here! I'm having some difficulty updating a tabcontrol cross-threads. The general idea is : the main thread is the owner of the tab control and the form controls. However, due...
2
by: Jamey | last post by:
Ran into an inconvenience with TabControls yesterday. I found a partial explanation from Allen Browne on the MS message boards explaining when it happens, but not why. I thought Stephen Lebans...
2
by: Claudia Fong | last post by:
Hi, I added a tabcontrol in a panel in my form. My tabcontrol have more than 3 pages.. each page contains textboxes, combobox, checkbox. I want to disable the items of each of the page of...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.