ShortCutBar and LunaColors=False |
Post Reply |
Author | |
aterron
Newbie Joined: 21 October 2004 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 17 February 2005 at 4:46am |
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
|
|
gshawn
Senior Member Joined: 04 October 2004 Status: Offline Points: 227 |
Post Options
Thanks(0)
|
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 |
Post Options
Thanks(0)
|
Well, thanks...but I'm talking about the ShortCutBar not the ShortCutBarCaption...
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |
Post Options
Thanks(0)
|
Thanks SuperMario
|
|
gshawn
Senior Member Joined: 04 October 2004 Status: Offline Points: 227 |
Post Options
Thanks(0)
|
|
|
williamyang
Newbie Joined: 12 July 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
I got same problem, how to disable Lunacolors in Shortcut bar.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |
Post Options
Thanks(0)
|
I mean shortcutbar, not shorcutcaption, they are different control, shortcutbar has not GrandientColor property.
|
|
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
Have you tried using ColorManager.SetColor? It will affect the colors used by all SuiteControls, but allows you to modify the colors.
|
|
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 |