Small TabControl color issue |
Post Reply |
Author | |
Majek
Groupie Joined: 20 November 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |