I'm using the following code in my xml file to add an element (A square with rounded corners). Is there a way to change it's colour from within the script as I want it to change under different circumstances, however there are too many possibilities to use loadsof image files. I've got a feeling that it's not possible and if it isn't, are there any controls/Elements where it is possible?
The <Red>, <Green> and <Blue> tags are what need changing
quote:
<Elements>
<Element xsi:type="FigureElement" Id="FigRectOptions">
<Position Top="20" Left="50" Height="30" Width="30"/>
<Figure>
<RoundRect><Radius>5</Radius></RoundRect>
</Figure>
<Border>
<Color><GlobalColor>bg</GlobalColor></Color>
</Border>
<Fill>
<PlainColor>
<Red>255</Red>
<Green>255</Green>
<Blue>255</Blue>
<Alpha>255</Alpha>
</PlainColor>
</Fill>
</Element>
</Elements>