Hello
I would like to have a button that toggle display filter on/off. for this to work, I need to know the state of my filter.
Is there some MC.Explorer.GetViewFilter that can retrieve the current filter, or a way to test if a certain kind of file is displayed ?
I would expect doing something like that :
@var $filter = "-*.log"
if ( StrIsEqual({MC.Explorer.GetViewFilter}, $filter))
{
MC.Explorer.SetViewFilter FILTER={$filter}
}
else
{
MC.Explorer.SetViewFilter FILTER="*.*"
}
Is there already some stuff to do that ?
Regards
Mathias (yes, you read well)