Working with TabControl.....

Hi Guys,

How does one retrieve the currently active tabpage from a tabcontrol?

I would like certain events to take place when particular tabpages are selected.

kind regards Imran
imran89Asked:
Who is Participating?
 
malharoneConnect With a Mentor Commented:
tabcontrol1.SelectedTab = tabControl1.TabPages[3];

or
System.Windows.Forms.TabPage tp = tabControl1.TabPages[tabcontrol1.SelectedIndex];
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.