TabControl current tab 2008

Posted on 2009-04-21
Last Modified: 2013-11-26
i have a tabcontrol with few to check which tab that user are currently use.
Question by:aarontham
    LVL 12

    Expert Comment

    this.tabControl1.SelectedTab is the actual tab and
    this.tabControl1.Selectedindex will give you an integer of the index in the this.tabControl1.TabPages[] array the current tab is in

    Author Comment

    i new in can you help to provide some sample code.
    LVL 1

    Accepted Solution

    Private Sub GetSelectedTab()

    Messagebox.Show (tabControl1.SelectedIndex)

    End Sub

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    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.

    737 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

    19 Experts available now in Live!

    Get 1:1 Help Now