Solved

Working with TabControl.....

Posted on 2003-12-03
1
413 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now