ghisler(Author) wrote:TC 9 will support different background colors in file panels.
svetlov wrote:Can this option be used to make an inactive panel always light-grey and an active panel always white? If yes, how?
There is a solution up from TC 9.0, but
without using the Tab key AND without using a mouse-click to switch to the other panel.
Instead, a
shortcut or a button must be used.
Example (Sorry for using other colors):
1. View Mode "
Background_YELLOW",Background + Background 2 = same colour = yellow (for
active panel)
2. View Mode "
Background_GREEN", Background + Background 2 = same colour = green (for
inactive panel)
3. Button with command:
cm_FocusTrg,cm_SrcViewModeList Background_YELLOW,cm_FocusTrg,cm_SrcViewModeList Background_GREEN,cm_FocusTrg
4.
Shortcut Alt+W for em_command:
em_background-color_active-inactive_panel ->
4. Button with command:
cm_FocusTrg,cm_SrcViewModeList Background_YELLOW,cm_FocusTrg,cm_SrcViewModeList Background_GREEN,cm_FocusTrg
Left panel active: D:\Data
Right panel inactive: I:\Data
When the button or the shortcut (Alt+W) is pressed, the right panel (I:\Data) is activated and highlighted in yellow.
At the same time, the left inactive panel (D:\Data) is highlighted in green.
If the button or the shortcut is pressed again, then the left panel (D:\Data) is activated and highlighted in yellow
with the background color (the color is taken over). At the same time the right inactive panel (I:\Data) is highlighted in green.
The active window always has the color yellow.
The inactive window always has the color green.
If the color is lost for some reason (eg because of an 'Auto switch mode'), then simply press the button/shortcut again.
If you want to remove the coloring then use a button with command:
cm_SrcViewMode0 (View Mode-default for one panel)
OR
cm_SrcViewMode0,cm_FocusTrg,cm_SrcViewMode0 (View Mode-default for both panels).
---------
EDIT: mouse-click added