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?

Re: Inherited Forms Lose Tab Order by Herfried

Herfried
Thu Jul 10 18:02:31 CDT 2003

Hello,

"Andrew Sharpe" <andrewrwsharpeANTISPAM@yahoo.com> schrieb:
> 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
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet



Re: Inherited Forms Lose Tab Order by Andrew

Andrew
Fri Jul 11 07:23:24 CDT 2003

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

>-----Original Message-----
>Hello,
>
>"Andrew Sharpe" <andrewrwsharpeANTISPAM@yahoo.com>=20
schrieb:
>> 1.) Create a form with a tabcontrol.
>> 2.) Change the modifier of the tab control=20
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=20
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=20
(even without
>inheriting the form). I feel sorry, but AFAIK there is no=20
workaround.
>
>Regards,
>Herfried K. Wagner
>--
>MVP =B7 VB Classic, VB .NET
>http://www.mvps.org/dotnet
>
>
>.
>

Re: Inherited Forms Lose Tab Order by Herfried

Herfried
Fri Jul 11 08:07:53 CDT 2003

Hello,

"Andrew Sharpe" <andrewrwsharpeANTISPAM@yahoo.com> schrieb:
>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
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet