- August 18, 2008
- 181
- 69
- Home Country
- United States of America
- Moderator
- #1
I would like to be able to use string comparison logic for the visible property of skin elements. For example, if a skin designer would like an element to be visible if a particular plugin's property (PropertyX) is a certain value ("foo") and PropertyY is a value "bar", he could use something like the following psudocode:
Is something like this currently possible with any of the existing values of the Visible property?
If not, I will be interested in writing a patch to add this functionality. I would like to hear suggestions from others on preferred syntax.
Thanks,
Travis
Code:
<visible>String.Equals(#MyPlugin.PropertyX,foo) + String.Equals(#MyPlugin.PropertyY,bar)</visible>
Is something like this currently possible with any of the existing values of the Visible property?
If not, I will be interested in writing a patch to add this functionality. I would like to hear suggestions from others on preferred syntax.
Thanks,
Travis