Print Page | Close Window

Small TabControl color issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6625
Printed Date: 17 November 2024 at 1:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Small TabControl color issue
Posted By: Majek
Subject: Small TabControl color issue
Date Posted: 12 March 2007 at 10:09pm
Hi, I'm creating a themed program that allows users to customize the fonts and colors of the controls, including the tabs. Everything works great except for one color I can't seem to change. There is a white line on the upper border of the selected tab,  I have tried everything but nothing seems to change this one color. below are some screenshots and my code:
 
 
 
With TC.PaintManager
    .Appearance = XTPTabAppearanceStyle.xtpTabAppearancePropertyPage2003
    .BoldSelected = True
    .Color = XTPTabColorStyle.xtpTabColorDefault
    .Layout = XTPTabLayoutStyle.xtpTabLayoutMultiRow
    .Position = XTPTabPosition.xtpTabPositionTop
    .Font = f
End With
 
With TC.PaintManager.ColorSet
    .ButtonNormal = ToUInt32(FormBackColor)
    .ButtonSelected = ToUInt32(ControlBackColor)
    .NormalText = ToUInt32(FormForeColor)
    .SelectedText = ToUInt32(ControlForeColor)
    .HeaderFaceLight = ToUInt32(FormBackColor)
    .HeaderFaceDark = ToUInt32(FormBackColor)
    .TabPropertyPage2003BorderLeftHighlight = ToUInt32(ListViewBorderColor)
    .TabPropertyPage2003BorderTopHighlight = ToUInt32(ListViewBorderColor)
    .TabPropertyPage2003FrameBorder = ToUInt32(ListViewBorderColor)
    .TabPropertyPage2003DarkShadow = ToUInt32(FormBackColor)
End With
 
In short, is there a way to change the color of that white line? Thanks alot, Tom.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net