Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 428
  • Last Modified:

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
0
imran89
Asked:
imran89
1 Solution
 
malharoneCommented:
tabcontrol1.SelectedTab = tabControl1.TabPages[3];

or
System.Windows.Forms.TabPage tp = tabControl1.TabPages[tabcontrol1.SelectedIndex];
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now