Inherited Forms Lose Tab Order

A

Andrew Sharpe

1.) Create a form with a tabcontrol.
2.) Change the modifier of the tab control to "protected"
3.) Add 1 tab to the tab control.
4.) Create a second form that inherits from the first.
5.) On the new form, add a 2nd tab to the inherited tab
control.
6.) Swap the order of the tabs so the new tab occurs first.
7.) Save and close the forms. Re-open the 2nd one.
Notice the tab order was not preserved.

Bug? Workaround?
 
H

Herfried K. Wagner

Hello,

Andrew Sharpe said:
1.) Create a form with a tabcontrol.
2.) Change the modifier of the tab control to "protected"
3.) Add 1 tab to the tab control.
4.) Create a second form that inherits from the first.
5.) On the new form, add a 2nd tab to the inherited tab
control.
6.) Swap the order of the tabs so the new tab occurs first.
7.) Save and close the forms. Re-open the 2nd one.
Notice the tab order was not preserved.

Bug? Workaround?

This seems to be a known bug that occurs on some systems (even without
inheriting the form). I feel sorry, but AFAIK there is no workaround.

Regards,
Herfried K. Wagner
 
A

Andrew Sharpe

Thanks for your reply Herfried. Would you happen to have
a pointer to an article in the MS KnowledgeBase saying it
is a known issue? I believe you, I just want to make sure
MS knows about it so it can be fixed soon.
 
H

Herfried K. Wagner

Hello,

Andrew Sharpe said:
Thanks for your reply Herfried. Would you happen to have
a pointer to an article in the MS KnowledgeBase saying it
is a known issue? I believe you, I just want to make sure
MS knows about it so it can be fixed soon.

Some weeks ago somenbody from MSFT read a posting about this issue. I coul
not find an article, bit I think/hope they know about the issue.

Regards,
Herfried K. Wagner
 

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