Label on CTB Right-Click ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
VeeGee

Label on CTB Right-Click ?

Post by VeeGee »

Good evening all,
I have a CTB where I assigned left-click and right-click to different scripts. Hovering over the button displays the name, which is correct; however, when I right-click on the button I see this :
Image-014.png
Image-014.png (2.98 KiB) Viewed 1817 times
Clicking the 'column...' label runs the script correctly. Is there any way to change that text, for example, Default ?
I have been reading through the manual and haven't found anything for that line.

Here is the button code. Did I goober something up in it ?
Image-015.png
Image-015.png (9.85 KiB) Viewed 1817 times

highend
Posts: 14603
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Label on CTB Right-Click ?

Post by highend »

Afaik no but why aren't you executing the right click script not directly instead of letting XY show it?

CTBNoRClickDefaultCommands=1...
One of my scripts helped you out? Please donate via Paypal

VeeGee

Re: Label on CTB Right-Click ?

Post by VeeGee »

Thanks for the help. Nice tweak ! I applied that my INI and it works directly with left clicks and right clicks ! Now I can quickly switch between certain columns on/off when viewing my movie/tv folders.

Did I just miss that setting in Tools/Configuration ? or is it a manual tweak only ?

highend
Posts: 14603
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Label on CTB Right-Click ?

Post by highend »

It's only for right clicks and it's a manual tweak
One of my scripts helped you out? Please donate via Paypal

sylumer
Posts: 4
Joined: 14 Feb 2017 14:47

Re: Label on CTB Right-Click ?

Post by sylumer »

You could try something like this:

Image
Attachments
2020-05-01-09.32.13-Window.png
2020-05-01-09.32.13-Window.png (95.13 KiB) Viewed 1787 times

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Label on CTB Right-Click ?

Post by aurumdigitus »

CTBNoRClickDefaultCommands=1...
Found this by serendipitous accident. Very nice code to put into the toolbox. :appl:

Post Reply