Results 1 to 5 of 5

Thread: Tab Control Title Bar Color

  1. #1
    Alex_W is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5 (VS 2008)
    Join Date
    Jan 2009
    Posts
    22
    Reputation
    75

    Tab Control Title Bar Color

    Hi all,

    Does anyone know how to set the title bar color of a tab control (not the tab pages themselves). Theres no property at design time for this.

    On Vista the title bar shares the forms' and tab page color and looks fine, when I run the program on a different XP machine it shows a gray bar along the top where the tabs are.

    I have found some codes elsewhere on the net but none seem to work. Any help appreciated, cheers.

    Alex_W

  2. #2
    JuggaloBrotha's Avatar
    JuggaloBrotha is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Lansing, MI; USA
    Posts
    4,364
    Reputation
    979
    A tab control has a title bar? Could you show an example of this?
    Currently using: VS 2010 Ultimate on Win7 Ultimate x64.


  3. #3
    Alex_W is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5 (VS 2008)
    Join Date
    Jan 2009
    Posts
    22
    Reputation
    75
    Sure here's what I mean, see the difference in the tab bar?
    Attached Images Attached Images

  4. #4
    lntsrikanth is offline VB.NET Forum Newbie
    .NET Framework
    .NET 1.1 (VS 2003)
    Join Date
    Jan 2009
    Posts
    1
    Reputation
    0

    Tab Color

    It is evident from the attached files that the page tabs are not colored but,

    1) each of the page has a container (with no border) and background color selected.
    2) the selected background is same as the form's background.

    Is that alright!

    Regards,
    Srikanth

  5. #5
    Alex_W is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5 (VS 2008)
    Join Date
    Jan 2009
    Posts
    22
    Reputation
    75
    Thanks for the reply but I have set the tab containers to the same color as the form background. This doesnt seem to change the tab bar along the top which still appears to be system colors (on the XP attachment). Any other ideas?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking