Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2377
  • Last Modified:

DevExpress NavBar Styling (Delphi)

I have a DxNavBar component and and ViewStyle is set to "SkinNavigationPaneView".
It looks like that I cannot change styling colors (OptionsStyle). Is there anyway to change for example the background color of component and/or buttons?
0
dinko1
Asked:
dinko1
1 Solution
 
ThommyCommented:
I think there is no chance to change the background color when using skins, because everything is determined by the skin you have chosen...

Following extracts are from http://www.devexpress.com/Support/Center/p/Q262210.aspx

Processed (Answered) by DevExpress Team at 23.06.2010 15:14:18

Hello Jose,

You cannot set the background color for items via the Appearance property, because when a skinned style is applied to NavBarControl, item colors are completely determined by the current skin....


Processed (Answered) by DevExpress Team at 24.06.2010 09:13:12

Hello Jose,

The background color cannot be customized only when a skinned style is applied to NavBarControl. When another style, for example NavigationPane or VSToolBoxView, is applied to it, the item's appearance can be customized via the Appearance property....

0
 
jimyXCommented:
The Delphi standard buttons do not change color. Either use third party or you can use a standard SpeedButton (set to transparent) and panel which supports changing color.

As an example you can download TColorButton from delphi.about:
http://delphi.about.com/od/vclwriteenhance/l/aa061104a.htm
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now