On Mar 7, 4:43 pm, "Mark F." <reply2gr...@nospam.comwrote:
I have two tab controls (four tabpages each) and each tab control is in a
splitter panel (horiz orientation). I added a event handlers to handle the
selected tab event. The upper tab control works when every tab is selected.
The lower tab control only seems to work when the first three tabs are
selected, not the last.
Any ideas why?
Thanks,
Mark
Mark,
I created a VS.NET 2003 WinForm project, added a panel and to the
panel a tab, a splitter (oriented as horizontally) and another tab.
I wired both tab controls to its SelectedIndexChanged event and on
clicking each TabPage in both tabs the event fired.
I then wired the TabIndexChanged event for both tabs and found that
this event didn't fire for any TabPage for either tab. I'm not sure
why, perhaps I don't understand what the event is supposed to do
exactly.
For fun (or at least what passes for fun for me these days) I had both
tabs SelectedIndex property display when the SelectedIndexChanged
events fired. I noticed that the SelectIndex was changing, yet
changing the index via a mouse click wasn't firing the TabIndexChanged
event.
I was going to post my project but saw that it would have been pretty
much illegible. If you're not using the SelectedIndexChanged event
for your tab controls, perhaps that's you're solution.
-Jay