Page 1 of 1

Some questions regarding Custom Toolbar Button

Posted: 05 Jan 2013 12:58
by binocular222
Hi,
Can I change these behaviours?
- Right click pop-up a menu (with click; edit) instead of launching the assigned command (I assigned only simple 1-line command to Right click)
- Label accepts neither variable nor script
- Drive group (i.e: {drives_rem} ) cannot be edited. I want different action when I left/right click this drive group button.

P.S if the Drive group button cannot be edited, then can you help me to mimic that button (icon plus dynamic drive letter)?

Re: Some questions regarding Custom Toolbar Button

Posted: 05 Jan 2013 13:34
by klownboy
Hey binocular222,
I think I can answer your 1st question. You can keep the Click and Edit... from showing up on the right click of a CTB by using this tweak in the XYplorer.ini file. From Beta change log:
+ Tweak to hide Click, Edit, Customize Toolbar" from the CTB's
right-click menu.
CTBNoRClickDefaultCommands=1
You still get those commands with CTRL+RightClick.
See http://www.xyplorer.com/xyfc/viewtopic. ... t=klownboy You can then use a right click on a CTB to open a program immediately or you can open a menu with out the Click and Edit business being revealed.
Ken

Re: Some questions regarding Custom Toolbar Button

Posted: 05 Jan 2013 14:33
by binocular222
Thanks klownboy, it works.
Anyone knows about the remaining 2 points?