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. Tab control

Tab control

Scheduled Pinned Locked Moved C#
question
3 Posts 2 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.
  • T Offline
    T Offline
    toprogramminguy
    wrote on last edited by
    #1

    Hi, I'm building my own tab control. I have classes with all of the lines and stuff I want to draw to make up the tabs and the outline to the control. But I'm just wondering because I'm finding it difficult to draw a tab each time a button to add a new tab is clicked, should I create a user control(for each tab) inside a user control(the actual tab control) or is there a good way to draw a tab using the class I have for that purpose each time the add tab button is clicked? Sorry if this is hard to understand, I typed it out twice cos' the first time it was to hard for even me to understand :sigh: thanks

    A 1 Reply Last reply
    0
    • T toprogramminguy

      Hi, I'm building my own tab control. I have classes with all of the lines and stuff I want to draw to make up the tabs and the outline to the control. But I'm just wondering because I'm finding it difficult to draw a tab each time a button to add a new tab is clicked, should I create a user control(for each tab) inside a user control(the actual tab control) or is there a good way to draw a tab using the class I have for that purpose each time the add tab button is clicked? Sorry if this is hard to understand, I typed it out twice cos' the first time it was to hard for even me to understand :sigh: thanks

      A Offline
      A Offline
      akidan
      wrote on last edited by
      #2

      Is this through WPF or Windows Forms? Also, are you building a new tab control more for fun, or to meet a need that the built-in tab control didn't meet?

      T 1 Reply Last reply
      0
      • A akidan

        Is this through WPF or Windows Forms? Also, are you building a new tab control more for fun, or to meet a need that the built-in tab control didn't meet?

        T Offline
        T Offline
        toprogramminguy
        wrote on last edited by
        #3

        akidan wrote:

        Is this through WPF or Windows Forms?

        It's through windows forms.

        akidan wrote:

        Also, are you building a new tab control more for fun, or to meet a need that the built-in tab control didn't meet?

        A bit of both.

        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