PDA

View Full Version : removint tab from dataprovider does not destroy the tab


quasiX
12-12-2007, 09:04 AM
Hi,

I was wondering how I can delete a child from a TabBar after removing it from the dataprovider with removeChild()?

What happens now is that when I remove the child from the TabBar's dataprovider it disappears from the screen, but the tab still exists somewhere in memory. I know this because the tab still receives event and executes the handlers. How can I totally destroy the tab so that the handlers are not invoke anymore?

thanks,
Andrej