How to change background-color of breadcrumb bar?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
bluenight9
Junior Member
Junior Member
Posts: 3
Joined: 2010-12-15, 13:22 UTC

How to change background-color of breadcrumb bar?

Post by *bluenight9 »

How to change background-color of breadcrumb bar? (not it's submenu,just address bar)
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

[Colors]
ActiveTitle
ActiveTitleText
InactiveTitle
InactiveTitleText
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

In Vista and Win7 -Explorer is only one "BreadcrumbBar" and it is shown in a shiny light blue, with another blue highlight when you hover over it.

Total Commander uses also another Breadcrumbbar in the inactive panel. As default, TC uses the Window-settings for "active window" and "inactive window". The above option was introduced, to be independent from the standard-windows-settings. One must edit the TC setting file manually, because there is no option dialog for it.


In contradiction to RGB-values, the Total Commander accept only BGR-values in the INI-file.
B = Blue
G = Green
R = Red

In Addition, hexadecimal values for the colors are OK, one can even mix both of the types.
The hexa code is indicated by a leading $



How are the color codes translated?
(Link: Translation from a German thread)

BGR, each color component can be selected from 0..255.
The decimal number is then calculated as
B*65536 + G*256 + R

The colors can be specified in hexadecimal as $bbggrr.
bb 00..FF blue component
gg 00..FF green content
rr 00..FF red component


Useful color table:
http://www.tabelle.info/farbtabelle.html

More info:
Enable user-defined color in current directory bar
New Colors in TC 7.55 - Your settings for them
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I use a tool called "Color Cop", among it's Options, is Mode "Delphi Hex", or "Ctrl+D"
That displays a $BGR hex value, that TC will understand.

Or, here's a little script that will create that value for you, if you provide it RGB as either a single hex value or 3 decimal values:

eg: xRGBGR.cmd 106 53 46
or: xRGBGR.cmd #6A352E

Code: Select all

@ECHO OFF
IF NOT "%~3"=="" GOTO:RGB2BGR
SET iColor=%~1&CALL:RGB2BGR 0x%iColor:~1,2% 0x%iColor:~3,2% 0x%iColor:~5,2% 
GOTO:EOF

:RGB2BGR
SET /A cBLU=%~3 * 65536 
SET /A cGRN=%~2 * 256
SET /A cRED=%~1
SET /A outColor=cBLU + cGRN + cRED
ECHO iColor[DEC]: %outColor%
bluenight9
Junior Member
Junior Member
Posts: 3
Joined: 2010-12-15, 13:22 UTC

Post by *bluenight9 »

Thanks very much for your help!
I've solved the problem.
Post Reply