S
Shaun Wilde
Hi
I am still suffering the (visual studio randomiser) TabControl bug with my
TabControl and its 10 tabs. I tried the SetChildIndex method as mentioned
previously in these groups but nothing happens - the framework just ignores
it and the tab order remains the same. I am currently use
frmTab.Controls.Clear() and and then re-adding my tabs (and then the tabname
again) with frmTab.Controls.Add(...);
frmTab.Controls.Clear(); // this deletes all the tab names for some reason
as well
frmTab.Controls.Add(tabOne); // add tab
tabOne.Text = "First"; // re-add the tab name
frmTab.Controls.Add(tabTwo);
tabTwo.Text = "Second";
etc..
now even though this works it adds 7 seconds to my form load time (which now
stands at 17 seconds).
Can someone please explain why SetChildIndex isn't working for me or suggest
a better way (preferably with a code example)
thanks again
Shaun
I am still suffering the (visual studio randomiser) TabControl bug with my
TabControl and its 10 tabs. I tried the SetChildIndex method as mentioned
previously in these groups but nothing happens - the framework just ignores
it and the tab order remains the same. I am currently use
frmTab.Controls.Clear() and and then re-adding my tabs (and then the tabname
again) with frmTab.Controls.Add(...);
frmTab.Controls.Clear(); // this deletes all the tab names for some reason
as well
frmTab.Controls.Add(tabOne); // add tab
tabOne.Text = "First"; // re-add the tab name
frmTab.Controls.Add(tabTwo);
tabTwo.Text = "Second";
etc..
now even though this works it adds 7 seconds to my form load time (which now
stands at 17 seconds).
Can someone please explain why SetChildIndex isn't working for me or suggest
a better way (preferably with a code example)
thanks again
Shaun