> Hello All,
> I'm having a issue with the TabControl.SelectedTab.Name in the
[quoted text clipped - 17 lines]
> Case pgMyPage2.Name
> //Same as above.
Terry,
your first solution is exactly what u want (place those two lines in the
selectedindexchanged event) .. i m not sure why u r getting those errors ..
probably the problem lies somewhere else.
FUnky
Terry - 25 May 2006 15:59 GMT
FUnky,
I figured out what my issue was. When I was hiding/Clearing the tabpages I
was making a call like this: MyTabControl.TabPages.Clear(). Instead of using
the Clear() I started to use the MyTabControl.TabPages.Remove(MyTabPage).
Once I started using the Remove() the errors were no longer taking place. I
guest the Clear() isn't the same as the Remove().
Thank you for Responding to my post!
Terry
> > Hello All,
> > I'm having a issue with the TabControl.SelectedTab.Name in the
[quoted text clipped - 25 lines]
>
> FUnky