PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Batsheva Asaph on July 26, 2012, 10:58:50 PM

Title: TabControlChild Problems.
Post by: Batsheva Asaph on July 26, 2012, 10:58:50 PM
Hi,

When I try to delete all Tabs with FF_TabControl_RemoveAllTabs the Content of the TabControlChild is still active.
The same thing happens when using FF_TabControl_RemoveTab.

Any Ideas how to resolve this?

Thanks,
BA
Title: Re: TabControlChild Problems.
Post by: Paul Squires on July 27, 2012, 12:51:26 PM
FF_TabControl_RemoveAllTabs just removes the tabs of the tab control. Anything tied to that tab (ie. the child forms) need to be manually closed by your code. So, when you call FF_TabControl_RemoveAllTabs then also use FF_CloseForm for the child form associated with each tab.

Hope that helps.

Title: Re: TabControlChild Problems.
Post by: Batsheva Asaph on July 27, 2012, 01:54:08 PM
Hi Paul,

It helped.

Thanks,
BA