Hi Dojo,
I'm looking into a way to dinamically display a label into a placeholder:
my set of labels can have four possible values = {label1, label2, label3, label 4};
each label would be associated to one of the 4 possible values of a parameter = {X, Y, W, Z}.
So, when the Parameter Value = "X", then "label1" should be dislayed and so on.
In my first mock-up I've been able to use the "SHOW" condition to dinamically show the relevant label and hide the others that aren't relevant, but in this way I'm forced to keep some "element shape" on the Visio without dong much with it and end up having a much larger area as I need to keep the room for the 4 labels, even if only one of them would be displayed.
Ideally, I'd like the label to be displayed in a given point of the Visio (which would be fixed), so that my placeholder can be smaller (just the space of a a single label).
Is this someting that could be achieved by using XPOS/YPOS?
Could you point me at any examples if so?
EDIT: in some cases, I might even need to display two different sets of labels dependin on the A/B state of a given element:
A values = {label1A, label2A, Alabel3A, label4A}
B values = {label1B, label2B, Alabel3B, label4B}
Is there any sort of "IF" conditon that would allow this in VISIO?
I mean, "IF" Element State = A, use the labels from set A
Could this be based on session variables?
Thanks
Hi Alberto,
Would it help you if you place the labels on top of each other and make sure that the text alignment is centralized?
Note that you can group your label shapes and link them to an element or view and add Enabled False to make sure that there is no linking. Then you can put on each child label shape Options NoAlarmColorFill to make sure that the severity isn't shown.
Thanks for your suggestion, Jens
I’ve made a few tries: that is an option, however since configuring the visio is easier if the shapes don’t overlap, so that I can freely click on each of them to check what is linked – hence why I’m still thinking about the possibilities.
I will add an edit in the main question as my scenario might become a bit more complex: still 4 possible values for the labels, but the labels would need to be from 2 sets (let’s say A & B) and whether the GUI needs to show labels from set A or set B is determined depending on the state of a different element (!)
At times, I still hear people thinking that OSS applied to TV distribution “can’t be too complex” 🙂 but I’m used to think that possibilities are virtually limitless ^^