CTB for manual sort

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

CTB for manual sort

Post by Kucera »

I would like to make a button to toggle manual sorting of the list on and off, but cannot find a proper command for it. is there a numbered script, or what command/script could I use?
Thanks and regards Emil

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: CTB for manual sort

Post by zer0 »

#414 is the command you're after.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Re: CTB for manual sort

Post by Kucera »

zer0 wrote:#414 is the command you're after.
Yep, as it often happens, I found it just now, as soon as I asked. Thanks very much anyway, this kind of community help is one of the reasons that makes XY such a gem
Thanks again
Regards Emil

Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Re: CTB for manual sort

Post by Kucera »

zer0 wrote:#414 is the command you're after.
Another question - what will a script need to show different icon for each state of the toggle? Like the Thumbnails/details toggle does, for example. A visual feedback. I suspect more than one line is needed, now?
Regards Emil

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: CTB for manual sort

Post by zer0 »

Kucera wrote:Another question - what will a script need to show different icon for each state of the toggle? Like the Thumbnails/details toggle does, for example. A visual feedback. I suspect more than one line is needed, now?
As far as I know, dynamic toggling of a button's visual state is not currently possible. I hope that it does come in a later revision of the CTB feature.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Post Reply