tabcontrol without tabs

Discussion in 'C#' started by elloco999, Sep 3, 2010.

  1. elloco999

    elloco999 New Member

    Joined:
    Sep 3, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi everyone,

    I want to make an application with a tabcontrol with two tabs. But I don't want the tab seletor on the top to be visible.

    On the first tab, there will be a list of objects with just the name, the second tab will contain the detail fields. When a object is double clicked in the first tab, the second tab should be opened with the details of the selected object. I know how to do this, but when I use a tabcontrol there is a bar on the top of the control where you can select a tab. I don't want this bar to be visible.

    Does anyone know how to do this? Or perhaps some other control that will enable me to build to pages and select the page I want from the code?

    Thanks,
    Rick
     
  2. go4expert

    go4expert Moderator

    Joined:
    Aug 3, 2004
    Messages:
    306
    Likes Received:
    9
    Trophy Points:
    0
    Why do you want to be using tab control then and use a panel where your switching between panel is based on the double click event being triggered.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice