Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. is there a way to browse bitween tabPages using a ListBox control?

is there a way to browse bitween tabPages using a ListBox control?

Scheduled Pinned Locked Moved C#
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leeoze 0
    wrote on last edited by
    #1

    Hi, I would like to create an options dialog such as Windows Live messenger has. Basicly I would like to use a listbox to control the tabPages in a tabControl. Unless; you have a better Idea to create such a dialog... thank you Leeoz

    B L 2 Replies Last reply
    0
    • L leeoze 0

      Hi, I would like to create an options dialog such as Windows Live messenger has. Basicly I would like to use a listbox to control the tabPages in a tabControl. Unless; you have a better Idea to create such a dialog... thank you Leeoz

      B Offline
      B Offline
      Brady Kelly
      wrote on last edited by
      #2

      What is wrong with the tabs themselves?

      1 Reply Last reply
      0
      • L leeoze 0

        Hi, I would like to create an options dialog such as Windows Live messenger has. Basicly I would like to use a listbox to control the tabPages in a tabControl. Unless; you have a better Idea to create such a dialog... thank you Leeoz

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Just handle the SelectedIndexChanged event of your listbox and do something like this in there:

        tabControl.SelectedIndex = ...; // index of the tab

        // or

        tabControl.SelectedTab = ...; // an actual tab control instance

        I don't use Windows Live messenger, so I hope that's what you actually wanted to know. regards

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups