Alright, I'm here again for a little problems on local listers.
All the code below is what is in place at the moment after a lot of tries without having work the way I would really like.
I set up a button to toggle the current (local) lister into flat view with this code:
Toolbar NAME="xx - Flat View" TOGGLE LOCAL
Set VIEW=Details
Set FLATVIEW=Grouped
Set CHECKBOXMODE=On
This displays a toolbar and set up the current pane into grouped flat view.
My first question: is it possible to turn the whole current local lister in flat view?
I guess so... With some more command lines to set the source as active, turning it into flat view, then setting the dest as active and performing the same actions... but is there a kind of shortcut command to that? And otherwise, is there a like "if","for","goto" kind of commands to help in DOpus commands? (let me guess, VB once again hehe )
More seriously, this is also a button I created on the FlatView toolbar to close it and go back into normal display:
Toolbar NAME=*this CLOSE LOCAL
Set FLATVIEW=Off
Set CHECKBOXMODE=Off
From this button, when I want to go back to normal, it works fine (if the active lister is the one which displays flat view, that's why i was asking my 1st question, so this problem would go as closing would set also everything back to normal)
Also, I didn't toggled flatview modes in my buttons because I only want grouped mode with checkboxes as default. I would like to be able through these 2 buttons to set and unset this mode (with the slight difference in the first button that it's a toggle button which displays the state of the toolbar). 2nd question: Is there a way to synchronise all this locally for the whole lister (maybe not tabs in both listers, but at least the two panes)?
And last question: is there a way to remember the display config of the folder before getting into flatview mode so it can be restored after leaving flatview, or set it back to default filetype recognition?
Thanks a lot in advance
[/code]