I am trying to view the directory structure of a folder, but do not want any files displayed. Is there a way to do
flat view - grouped, but hide all files? I would like to create a button for it so I can place it on a toolbar.
I thought to set a filter, but I can't seem to get this to work and really don't know how to create and use such a filter.
Here are two ways to do it, one using a command (which turns on flat-view and sets the hide-filename-filter to *), another using a style (which does the same thing in a different way):
FWIW - a single line button command like Set FLATVIEW=Toggle,Grouped HIDEFILTERFILENAME * will toggle both the flat view AND the file filter on and off at the same time... i.e. there's no need for 'another' button or three-button right click mode that runs any "clearfilters' stuff or turns the flat view 'off'. The one command will do it all...