The name property of the TabPage is the key. When you add the TabPage, you
also add the Key.

Signature
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
> The name property of the TabPage is the key. When you add the
> TabPage, you also add the Key.
Ah ok, wasn't mentioned in the documentation. Confused not only me:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=45102
34c-82f9-4024-8ec2-64d9dd5154c6
In opposite to the guy's opinion, IMO it would be sufficient to mention it
in the docs.
Armin
Kevin Spencer - 27 Mar 2006 20:56 GMT
Reading the Microsoft docs can be a difficult exercise. the more you do it,
however, the easier it gets. I'm sure they put a lot of thought into writing
them, but there is just so much they can write. As it is, the MSDN library
is several gigs in size. So, I accept it that there are some things not
documented very well. But the more I do it, I become more familiar with
their way of explaining things, and it gets a *little* easier!

Signature
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.
>> The name property of the TabPage is the key. When you add the
>> TabPage, you also add the Key.
[quoted text clipped - 7 lines]
>
> Armin
Claes Bergefall - 28 Mar 2006 16:44 GMT
>> The name property of the TabPage is the key. When you add the
>> TabPage, you also add the Key.
[quoted text clipped - 7 lines]
>
> Armin
It actually is mentioned in the docs, but only in the Add(String, String...)
overloads.
It's also mentioned in the docs for the ContainsKey method
One can only guess why they didn't include that little remark in the
Add(String) overload too.
/claes