09-07-2005 07:33 PM
09-08-2005 08:15 AM
Hi Donna,
The problem is that when the tab panel is removed, the handle for it is no longer valid. Think of it as using a DiscardPanel call on a panel. There are two things that you can do to fix this. First, in the code that you already posted, the following change should work.
Moving the 'EasyTab_SetTabAttribute' to after you load the panels call should give you the proper effect. Also make sure that you are getting the newest ID's of the easy tab panels when you reload them.
A second option, and this might not work for you depending on your situation, but it may save you some coding, is to hide the panels instead of removing them. You can do this with the 'EasyTab_SetTabAttribute' function using the 'ATTR_EASY_TAB_VISIBLE' attribute.
09-08-2005 10:26 AM
Thanks Dave,
I tried your first option and it worked!
Donna