![]() |
ShortCutBar and LunaColors=False |
Post Reply ![]() |
Author | |
ianp ![]() Moderator Group ![]() ![]() Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() Posted: 14 July 2005 at 1:52am |
Have you tried using ColorManager.SetColor? It will affect the colors used by all SuiteControls, but allows you to modify the colors.
|
|
![]() |
|
williamyang ![]() Newbie ![]() Joined: 12 July 2005 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
I mean shortcutbar, not shorcutcaption, they are different control, shortcutbar has not GrandientColor property.
|
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
This will disable luna colors in all suite controls (TaskPanel, ShortcutBar, etc).
Private Sub Form_Initialize() SuiteControlsGlobalSettings.ColorManager.SystemTheme = xtpSystemThemeUnknown End Sub Then you would use gshawn's code to update the ShortcutCaption Controls: ShortcutCaption1.GradientColorLight = &HD2E1E3 ShortcutCaption1.GradientColorDark = &HA6AFB2 |
|
![]() |
|
williamyang ![]() Newbie ![]() Joined: 12 July 2005 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
I got same problem, how to disable Lunacolors in Shortcut bar.
|
|
![]() |
|
gshawn ![]() Senior Member ![]() Joined: 04 October 2004 Status: Offline Points: 227 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
![]() |
|
aterron ![]() Newbie ![]() Joined: 21 October 2004 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Thanks SuperMario
|
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
This will disable luna colors in all suite controls (TaskPanel, ShortcutBar, etc).
Private Sub Form_Initialize() SuiteControlsGlobalSettings.ColorManager.SystemTheme = xtpSystemThemeUnknown End Sub Then you would use gshawn's code to update the ShortcutCaption Controls: ShortcutCaption1.GradientColorLight = &HD2E1E3 ShortcutCaption1.GradientColorDark = &HA6AFB2 Edited by SuperMario |
|
![]() |
|
aterron ![]() Newbie ![]() Joined: 21 October 2004 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Well, thanks...but I'm talking about the ShortCutBar not the ShortCutBarCaption...
|
|
![]() |
|
gshawn ![]() Senior Member ![]() Joined: 04 October 2004 Status: Offline Points: 227 |
![]() ![]() ![]() ![]() ![]() |
This may not be the best workaround, but as of v9.60 you can specify the colors in code: ShortcutCaption1.GradientColorLight = &HD2E1E3 I hope this helps! |
|
![]() |
|
aterron ![]() Newbie ![]() Joined: 21 October 2004 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
I can't figure out how to mimic the shortcutbar shown in the attached image. As you can see the colors of the ShortCutbar are identical of those of the CommandBar when Lunacolors = False TIA
|
|
![]() |
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 |