DeniseGoodheart
asked on
How To Determine Which TabPage Was Clicked on the Tab Control
Hi,
I'm using VS.NET 2005. When the user makes a selection from the tab control, I would like to load a combo box with specific data based on which tab page was clicked. How do I create a tab control click event to identify which tab page was selected?
Thanks,
Denise
I'm using VS.NET 2005. When the user makes a selection from the tab control, I would like to load a combo box with specific data based on which tab page was clicked. How do I create a tab control click event to identify which tab page was selected?
Thanks,
Denise
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ah yes - my solution uses the wrong event - use the tabcontrol.SelectedIndexCh anged as appari says. You can still pass things out to a sub to load the combobox values if you want to keep things neat, but that's up to you :)
ASKER
Thanks all for the great help! I love Experts-Exchange!
Cheers,
Denise
Cheers,
Denise