Print Page | Close Window

Shortcut Bar Colours

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=3027
Printed Date: 17 November 2024 at 9:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Shortcut Bar Colours
Posted By: marknorris
Subject: Shortcut Bar Colours
Date Posted: 13 October 2005 at 6:58am

Hi

I want to customise the colours used by the shortcut bar, but I am finding it difficult to identify which display elements need changing.

I am trying to build this mock-up:

 

The currently selected group (at the top in this example) should be in colour &HC8C8C8 to &HE4E4E4.

The hot tracking colour should be &H4488DB.

If I do the following:

    With SuiteControlsGlobalSettings.ColorManager
        .SystemTheme = xtpSystemThemeUnknown
        .SetColor STDCOLOR_BTNFACE, &HC8C8C8         'CaptionLight
        .SetColor STDCOLOR_WINDOW, &HE4E4E4

        .SetColor STDCOLOR_HIGHLIGHT, &H4488DB
    End With

I get total wrong colours! Help!




Replies:
Posted By: gbdc
Date Posted: 22 October 2005 at 6:43pm
Marknorris,

Were u able to find an answer? I face the same problem, and I'd like to know how you were able to (hopefully) resolve the issue.

Darren


Posted By: glennj
Date Posted: 03 April 2006 at 10:46am

is it like this?

 

With SuiteControlsGlobalSettings.ColorManager()

.SystemTheme = XtremeSuiteControls.XTPCurrentSystemTheme.xtpSystemThemeUnkn own

.SetColor(XtremeSuiteControls.XTPColorManagerColor.STDCOLOR_ BTNFACE, System.UInt32.Parse(&HC8C8C8))

.SetColor(XtremeSuiteControls.XTPColorManagerColor.STDCOLOR_ WINDOW, System.UInt32.Parse(&HE4E4E4))

.SetColor(XtremeSuiteControls.XTPColorManagerColor.STDCOLOR_ HIGHLIGHT, System.UInt32.Parse(&H4488DB))

End With



Posted By: glennj
Date Posted: 03 April 2006 at 11:40am

I can't get it to work either... can any one help? Admin?

I'm programming in VB.Net



Posted By: SuperMario
Date Posted: 03 April 2006 at 12:27pm
In VB the "R" and "B" colors are reversed.  Try setting as BGR instead of RGB when setting the colors.



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