I have a FileView set up with 20 Index items listed. When an item is empty, ie no item exists under that index, I use this on every measure to hide it:This works well to avoid the SolidColor of any meter with an empty string to be hidden. No problem, until...
I've added a minimise button to the skin so that it can be minimised and hide all meters and disable all measures at the same time.
The trouble is that when I click to maximise the skin, after it's been minimised of course, it cancels out the IfMatch I used above. I've tried updating the Parent using CommandMeasure bang, as it has a FinishAction to update the measures and meters, but it's not working.
I was also thinking about somehow combining the current IfMatch with OR, is that possible?
e.g.Sorry if my explanation isn't clear enough, I will repeat, this is a complex arrangement that has gotten me quite confused in places, I'm wondering how I got this far tbh!
So Basically, it's a matter of knowing if you can use OR statements on an IfMatch action. Unless there's another way of using two separate methods which work together to show hide meters?
Code:
IfMatch=^$IfMatchAction=[!HideMeterGroup #CURRENTSECTION#][!UpdateMeterGroup #CURRENTSECTION#]IfNotMatchAction=[!ShowMeterGroup #CURRENTSECTION#][!UpdateMeterGroup #CURRENTSECTION#]
I've added a minimise button to the skin so that it can be minimised and hide all meters and disable all measures at the same time.
The trouble is that when I click to maximise the skin, after it's been minimised of course, it cancels out the IfMatch I used above. I've tried updating the Parent using CommandMeasure bang, as it has a FinishAction to update the measures and meters, but it's not working.
I was also thinking about somehow combining the current IfMatch with OR, is that possible?
e.g.
Code:
[Variables]Minimised=0[MyIndexMeasure]IfMatch = ^$ OR #Minimised#IfMatchAction = [!HideMeterGroup #CURRENTSECTION#][!UpdateMeterGroup #CURRENTSECTION#][!DisableMeasureGroup #CURRENTSECTION#]IfNotMatchAction = [!ShowMeterGroup #CURRENTSECTION#][!UpdateMeterGroup #CURRENTSECTION#][!EnableMeasureGroup #CURRENTSECTION#]
So Basically, it's a matter of knowing if you can use OR statements on an IfMatch action. Unless there's another way of using two separate methods which work together to show hide meters?
Statistics: Posted by sl23 — Yesterday, 8:56 pm — Replies 3 — Views 72