[IronPython] TabPages - misunderstanding or bug?

jeff sacksteder jsacksteder at gmail.com
Mon Jun 26 16:47:04 PDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/users-ironpython.com/attachments/20060626/77d61650/attachment.html


More information about the users mailing list