Tabpanels and forms

situation:
form with tabpanel inside tabpanel form with related clients (list)
no problems
I would like to switch the form used inside the panel (the list)to another form (the selected related record in record view). I’m banging my head now, thought would be simple, but I can’t find the solution.
I managed doing this ( well kind of) with dialogs ( a form in a dialog with a tabpanel, klik on edit and presto, the same dialog appears now with the chosen editrecord form.
Now I understand that this works because showformindialog is simply stacked.
So the question is can you change INSIDE a tabpanel from one related form to another, not by switching tabindex, but by something as
tabpanel.index.form = myeditform and back to tabpanel.index.form = mylistform

TIA

you can put a tabless tabpanel (with the two forms) in that tabpanel and switch forms inside that tabpanel using a method.

tabpanel–>tabless tabpanel → forms