Page 1 of 1

CTB for manual sort

Posted: 15 Apr 2011 22:10
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

Re: CTB for manual sort

Posted: 15 Apr 2011 22:33
by zer0
#414 is the command you're after.

Re: CTB for manual sort

Posted: 15 Apr 2011 23:24
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

Re: CTB for manual sort

Posted: 16 Apr 2011 00:02
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

Re: CTB for manual sort

Posted: 16 Apr 2011 01:42
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.