Interpret buttonbar as menu

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ate
Senior Member
Senior Member
Posts: 274
Joined: 2003-12-17, 22:48 UTC

Post by *ate »

Thx ... you're to fast :shock: You're right.

I edited my post - an other prob ...
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2ate
Sorry, I don't understand what is exactly a second problem. Could you explain, please?
User avatar
ate
Senior Member
Senior Member
Posts: 274
Joined: 2003-12-17, 22:48 UTC

Post by *ate »

Sorry, my English ... :oops:

I created a button in the buttonbar (default.bar) with %COMMANDER_PATH%\plugins\tcmenu\TCMenu.exe and as the param %%COMMANDER_PATH%%\system.bar.

Now I can click the button and then click the entries of the menu. If I click the button and then click somewhere else in TC the menu closes. But, If I double-click the button the menu stay until I click an menu-entry. There is no way to close the menu (opened with a double-click) with a single mouse-click somewhere else in TC or with ESC ...

My solution: I made an entry in the system.bar with %COMMANDER_PATH%\default.bar to close the opened menu.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Something that could be added to the documentation, which may not be obvious to unAdvanced TC users...

To get an updated/current *.br1 file, after making changes to one of TCMenu's *.bar files, ie MyToolBar.bar:
1) Delete MyToolBar.br1
2) Change Button Bar to "MyToolBar"
3) Change Button Bar back to your old main ButtonBar
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2ate
I cannot reproduce this, sorry. What is your processor speed?
Only reason I can think about is actually you make two clicks but not doubleclick. In this case TC starts TCMenu twice. When this happens try to start Task Manager to see how many instances of TCMenu are running.

2Balderstrom
I can add this to readme although it is not actually issue with TCMenu. TC 7.0 uses .br2 files. And if you change buttonbar via TC user interface TC will update all .br2 files immediately.
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

TCMenu beta 14 available.

New features are:
- Support for INC file localization.
- Support for BarEditor. Use Shift+Click on opened menu to invoke the editor for the current menu.
- Added SeparatorBold value in TCMenu.ini file
- Added about 20 colored themes in TCMenu.ini.sample file.
Most themes made by users B4rr4cuda and kalikanzaros from Russian forum. Even if you don't speak russian you can follow the link to see colored menu examples. :)
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

TCMenu beta 15 available.

New features are:
- Support for icon cahce in ICL format. Use BarEditor. to create this cache.
- Added SelectorBold value in TCMenu.ini file
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2VadiMGP
I really miss a feature to reset (remove) the DefaultCmd for the menu other than editing the TCMenu.ini file.

I suggest that If I Ctrl+Click the TCmenu button and then click the CURRENT default command then the DefaultCmd is reset/deleted (like a toggle action).

It would be nice if I could use %commander_path% in the command field for submenus - like:

Code: Select all

cmd1=%commander_path%\tools\tcmenu\submenu.bar
param1=menu
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2petermad Do you think it is worth to improve TCMenu right now? :wink:
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2VadiMGP

Ahh, yes I guess you are right ;-)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

VadiMGP wrote:2petermad Do you think it is worth to improve TCMenu right now? :wink:
I do. While there is a near insignificant delay to displaying TCMenu's, the internal provided solution is not as featureful as TCMenu.

1) You can't change the Menu backgrounds.
2) You can't have icon's of any size except for what you already have on your mainbar already.

Apparently if you attempt to change the ICONsize of a SubBar and then set that SUBbar to open as a list, that also changes your mainBar icons. I never noticed before, I didn't use subbars. ICONbars appear to have global settings that don't allow for any variation between them.

EDIT:
WooHoo TCMenu20b17 version over here. And to think I was merely surviving with 20b16 ;)
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Well tried email, and a post to the wincmd.ru boards. Maybe VadiMGP will pop in for a visit, heres the request in english :-)

I have a small request if you are still taking any, in regards to TCMenu:

When you use it for a popup menu, something like this:
%%APPDATA%%\GHISLER\GUI\ToolBars\EDIT.BAR -S %S

When TC's cursor is on [..], it doesn't send anything at all.
Thus an item in TCMenu's list, that has: param1=%S
And you click that item, TCmenu popsup:
Missing Parameter '%S', and does nothing.

It would be wonderful if TCMenu could get one additional -FLAG, like
-S %S -Q
If -Q is the last flag, and if none of the previous flags get any data then TCMenu would just pass nothing to the clicked button.

Anyways, thanks for listening.

EDIT:
Looks like %D is in use, so maybe -Q
Last edited by Balderstrom on 2009-08-17, 06:07 UTC, edited 1 time in total.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

2Balderstrom
You not need to wait for VadiMGP. I can say, that I was a 1001. man, who told with him about these [..] and his answer was "I can do nothing, TC does that". Maybe it is also mentioned in this thread. I`m to lasy to search this.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Right, but it is a TCMenu that is popping up with the error.
Thus it still has control at that point...
And if the -Q flag was added, then it would NOT popup with an error and just proceed to activate the button pressed as if it wasn't expecting any input from TC.
Last edited by Balderstrom on 2009-08-17, 06:07 UTC, edited 1 time in total.
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Its a problem of TC. Discussed in beta forum and shortly there (mainly results with proposals).
If you use "%%APPDATA%%\GHISLER\GUI\ToolBars\EDIT.BAR -S %S" as parameter, then TC ignores all parameters when on the ".." entry. (So there is no parameter at all. [the file EDIT.BAR is also missing])
Its designed by Christian like this. (IIRC he asked for good suggestions in beta forum.)
Last edited by Samuel on 2009-08-17, 05:42 UTC, edited 1 time in total.
Post Reply