[9.0b2] Panel separator context menu
Moderators: Hacker, petermad, Stefan2, white
[9.0b2] Panel separator context menu
I have hidden the vertical button bar, to be honest i don't like it very much (maybe i need some time). Rightclicking on the separator between the two panels, i see that the context menu has items "20/80", "30/70", etc and at the end, there is a "change vertical button bar".
1. Since the vertical bar is hidden, i'm not very sure this menu item should appear. IMO it shouldn't.
2. One would expect to have a "show vertical button bar" item there. I would find that more useful than the "change button bar" one.
1. Since the vertical bar is hidden, i'm not very sure this menu item should appear. IMO it shouldn't.
2. One would expect to have a "show vertical button bar" item there. I would find that more useful than the "change button bar" one.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50547
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It's there so you can re-add the vertical bar. The bar itself can only be chosen in that dialog, via >> button, that's why I show this command.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
So, you have to edit the button bar if you wish to just show it?ghisler(Author) wrote:It's there so you can re-add the vertical bar. The bar itself can only be chosen in that dialog, via >> button, that's why I show this command.

Wouldn't a "Show vertical button bar" be more clear to the user?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
I agree.Wouldn't a "Show vertical button bar" be more clear to the user?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50547
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem is if the user has set the vertical bar to no.bar, the menu item would have no effect.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Just a suggestion: Change the menu item to "Show vertical button bar". Then:ghisler(Author) wrote:The problem is if the user has set the vertical bar to no.bar, the menu item would have no effect.
Code: Select all
If VerticalBar.Buttoncount=0 then
Do what "change vertical button bar" does now
else
Show Vertical ButtonBar

- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50547
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Then TC has to load the bar every time the user opens the context menu. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
OK, i see where you're going with that and i agree. The only other thing i can think of would be to have a "Show vertical button bar" and if the user clicks on this, load the bar and then do something likeghisler(Author) wrote:TC has to load the bar
Code: Select all
If VerticalBar.Buttoncount=0 then
Show message "The vertical bar contains no buttons, so it will not be shown"
Set Vertical_Bar_Visible to False
Code: Select all
If VerticalBar.Buttoncount=0 then
Show message "The vertical bar contains no buttons. Are you sure you wish to show it?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Hmm, can't you just check the ini-file:
If no.bar is loaded then [Buttonbar]Buttonbar= will contain \NO.BAR
If vertical bar is closed, then [Layout]ButtonBarVertical=0
BTW what are these items for?:
[Buttonbar]IconDll_xxx.bar=
If no.bar is loaded then [Buttonbar]Buttonbar= will contain \NO.BAR
If vertical bar is closed, then [Layout]ButtonBarVertical=0
BTW what are these items for?:
[Buttonbar]IconDll_xxx.bar=
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Well, from what Christian has said, i guess the problem is that a bar may be named with another name (i.e. Foo.barpetermad wrote:If no.bar is loaded

- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
If somebody loads an empty bar - he is asking for trouble! And he can always use the menu to open the bar again - that's no different than for the horizontal button bar.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Well, it seems that in b3 it works in a more orthodox way. If no.bar happens to have been selected, it opens the bar editor, otherwise it works as a show/hide option. 
Thanks for the change.

Thanks for the change.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Considered fixed in TC9b3 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar