Distroy scrollbar widget passwing from one tabbar to another

Hi all
I am using a tabbar for an app with a tabbar woth a long text inside.
When I use the scrollview in the right tabbar, it appears, but still remain once I change tabbar.
Can someone tell me how to “destroy” the scrollview widget in a scene?
Thank a lot for any help.
Regards.
alex

Have you looked at display.remove()?

https://docs.coronalabs.com/api/library/display/remove.html

Hi all
I solved.
I forgot to insert the scrollView in the Scenegroup with insert.
Thank a lot.