Solved

Working with TabControl.....

Posted on 2003-12-03
1
417 Views
Last Modified: 2010-04-16
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
Comment
Question by:imran89
1 Comment
 
LVL 9

Accepted Solution

by:
malharone earned 50 total points
ID: 9870081
tabcontrol1.SelectedTab = tabControl1.TabPages[3];

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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server Error 11 58
C# 2015 Downloading text file and preserving the line breaks 5 36
Web Form VB.Net  import CSV 4 36
Service Controller 1 23
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question