move controls among different tabs of tabpanel

How can I move the same controls among different tabs? I have an imagewell and I want to use it in different tabs of my tabpanel.

I tried to find the value of


but it seems the parent is always the tabpanel control. I also tried set up the panel index value, like

myImageWell1.parent = TabPanel1 TabPanel1.PanelIndex = 1 //this index number is my desired tab to add this imagewell.

It doesn’t work either.

don’t connect them to ANY tab… let them float , and then move/hide as you change tabs

Another option: Subclass your imagewell and then put different instances of this class on each tab panel where you need them. You can still use the code which pertains to the image well, but change each instance as needed.