- Messages
- 1,564
- Country

I want to place a label in a position dependent upon the value of an L:Var. Surely, there is a more efficient way to do that than this:
Suggestions?
Thx in advance
Code:
<Element>
<Visible> (L:Var1, number) 0 > </Visible>
<Position X="-7" Y="-15"/>
<FormattedText X="18" Y="9" Font="arial" FontSize="10" LineSpacing="10" Color="#010101" BackgroundColor="gainsboro" Bright="Yes">
<String>%(L:Value1, enum)%!d!</String>
</FormattedText>
</Element>
<Element>
<Visible> (L:Var1, number) <= </Visible>
<Position X="-7" Y="15"/>
<FormattedText X="18" Y="9" Font="arial" FontSize="10" LineSpacing="10" Color="#010101" BackgroundColor="gainsboro" Bright="Yes">
<String>%(L:Value1, enum)%!d!</String>
</FormattedText>
</Element>
Suggestions?
Thx in advance
