Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    closing tabs

    Hi,

    You are allowed to set the same pane on every tab. Then you can use the TabSelected event to make changes to the interior of the pane instead of switching to another pane.
    This comment made me wonder about setting the same member as part of all tabs in tabset. That shared member will be destroyed when a tab gets closed (there is no Tab.destroy()).


    What I've also experienced with closing tabs is that if you have 2 tabs and close one, the other tab doesn't send any event of it being "focused" or "selected", so there doesn't seem to be a good time to set that shared member to the interior of the tabpane shown when closing another tab.
    Last edited by levi; 21 Aug 2010, 01:35.

    #2
    There's a CloseClick event, and you can set whether panes are auto-destroyed via setDestroyPanes().

    Comment

    Working...
    X