So - is there a way to prevent this from happening?
>I''m using the tabcontrol which has 4 tabs.
>
>In some instance when the form loads I have code which is enacted to make the first tab invisible, by setting TabVisible to false.
>
>When this code is used, the tab dissappears, but the next tab which should be visible partly hidden by a panel which looks like the remnants of the first tab.
>
>Clicking on the tab, forces a refresh and I see the contents of the tab.
>
>See the attached Word Document for examples.
>
>
>
>
TabDisplayError_4233.zip
>
>