ColorCode ActiveTab (in the TabRow) ???

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

ColorCode ActiveTab (in the TabRow) ???

Post by *Anncey »

Greets, (Earthlings)
I have searched and not found anything
regarding "ColorCoding the ActiveTab (in the TabRow) ...
Is that currently/already possible ???
If not, could that be a FeatureRequest ???

Image: https://postimg.cc/kRnxRr1P
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: ColorCode ActiveTab (in the TabRow) ???

Post by *petermad »

The active tab in Dark mode takes the color of: "Dark mode: Highlight":

See: https://madsenworld.dk/tcmd/darkmodetabcolor.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ColorCode ActiveTab (in the TabRow) ???

Post by *ghisler(Author) »

You can set the color of the active tab, but only via wincmd.ini:
[Colors]
ActiveTabColor=128
or
[ColorsDark]
ActiveTabColor=128

The value is an RGB value, r+256*g+65536*b, r, g and b with values between 0 and 255. The value 128 would be a dark red.
You can enter a hex value by putting a $ in front of the value, e.g.
ActiveTabColor=$80
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: ColorCode ActiveTab (in the TabRow) ???

Post by *petermad »

2Anncey
Notice that ActiveTabColor sets the color of the left side of the tab, whereas DarkHighlight sets the color of the right side of the tab (but of course also sets the color for many other highlighted elements).
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: ColorCode ActiveTab (in the TabRow) ???

Post by *Anncey »

ghisler(Author) wrote: 2021-03-29, 13:54 UTC You can set the color of the active tab, but only via wincmd.ini:
[Colors]
ActiveTabColor=128
or
[ColorsDark]
ActiveTabColor=128

The value is an RGB value, r+256*g+65536*b, r, g and b with values between 0 and 255. The value 128 would be a dark red.
You can enter a hex value by putting a $ in front of the value, e.g.
ActiveTabColor=$80
Grüezi, Commanders ...
This evening I (finally) applied the above ...
(to my wincmd.ini)

Image: https://i.postimg.cc/wBF3JWm3/To-C-20221213x1-Tab-Color.jpg
Post Reply