Regarding tab control...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Girish NS

    #1

    Regarding tab control...

    Hi,

    Is it possible to change the background color of buttons in the tabcontrol?
    I have set a custom background color for all the tab pages in the tab
    control and I want the same color for tab buttons also.

    Thanks,

    Girish



  • Dan Cimpoiesu

    #2
    Re: Regarding tab control...

    I think not.
    You must set OwnerDraw property of the tabcontrol to true, and do yourself
    the drawing of the buttons in order to achieve this.

    Hope this helps
    Dan Cimpoiesu

    "Girish NS" <nsgirish@scape velocity.com> wrote in message
    news:%23LNInrpo DHA.1708@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > Hi,
    >
    > Is it possible to change the background color of buttons in the[/color]
    tabcontrol?[color=blue]
    > I have set a custom background color for all the tab pages in the tab
    > control and I want the same color for tab buttons also.
    >
    > Thanks,
    >
    > Girish
    >
    >
    >[/color]


    Comment

    • Girish NS

      #3
      Re: Regarding tab control...

      Thank you

      Girish.
      "Dan Cimpoiesu" <dancimpoiesu@g mx.net> wrote in message
      news:u7u05bqoDH A.964@TK2MSFTNG P10.phx.gbl...[color=blue]
      > I think not.
      > You must set OwnerDraw property of the tabcontrol to true, and do yourself
      > the drawing of the buttons in order to achieve this.
      >
      > Hope this helps
      > Dan Cimpoiesu
      >
      > "Girish NS" <nsgirish@scape velocity.com> wrote in message
      > news:%23LNInrpo DHA.1708@TK2MSF TNGP12.phx.gbl. ..[color=green]
      > > Hi,
      > >
      > > Is it possible to change the background color of buttons in the[/color]
      > tabcontrol?[color=green]
      > > I have set a custom background color for all the tab pages in the tab
      > > control and I want the same color for tab buttons also.
      > >
      > > Thanks,
      > >
      > > Girish
      > >
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...