The TabPages attribute of the TabControl class contains a collection of TabPage objects. I was under the impression that individual tabs would be accessable by index or key.  That is apparently not the case.
Is this a bug or a misunderstanding on my part?

>>> for p in tab_book.TabPages:
...     print p
...
TabPage: {foo}
TabPage: {bar}
TabPage: {baz}
>>> print tab_book.TabPages[1]
TabPage: {bar}
>>> print book.TabPages ['bar']
None

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to