Unanswered: Detach tabs from tabpanel

Hey,

I want do to the following: I have a tabpanel, which contains some simple panels. I need the panels to be detached from the tabpanel, on drag or something.

Another possibility would be, that the tabpanel contains windows, instead of panels. And if you maximize the windows, their titles should be added as tabs to the tabpanel. And on drag on the tabs, you get your normal windows back.

I already tried the last version, but the title of the window does not become a tab.