- Messages
- 75
- Country

Hey everyone,
I have been scratching my head on this one. I feel like I'm missing something simple but I can't see it.
Below is the image I made for a refuel panel. the black area has a display for (L:14TANKSET,number). over this area there are 2 mouse zones identified with the hand + (Green box) and hand - (Cyan Box) symbols to increment or decrement the value by 100. it can be loaded up in ace and it looks ok there. Not that it means much.
Problems:
1) the text does not display
2) only one mouse area is active (the increment)
Trouble shooting steps taken:
1) remove visibility conditional
2) change order of elements
Thanks in advance for all the help!
I have been scratching my head on this one. I feel like I'm missing something simple but I can't see it.
Below is the image I made for a refuel panel. the black area has a display for (L:14TANKSET,number). over this area there are 2 mouse zones identified with the hand + (Green box) and hand - (Cyan Box) symbols to increment or decrement the value by 100. it can be loaded up in ace and it looks ok there. Not that it means much.
Problems:
1) the text does not display
2) only one mouse area is active (the increment)
Trouble shooting steps taken:
1) remove visibility conditional
2) change order of elements
Thanks in advance for all the help!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="AceXML" version="1,0">
<Descr>AceXML Document</Descr>
<Filename>FUELCONT.xml</Filename>
<SimGauge.Gauge id="Gauge">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>325,323</Size>
<Element id="TEXT">
<FloatPosition>14.000,130.000</FloatPosition>
<Visibility>(A:ELECTRICAL MASTER BATTERY,bool) 1 ==</Visibility>
<GaugeText id="GaugeText">
<Bold>True</Bold>
<FontColor>white</FontColor>
<FontFace>arial</FontFace>
<FontHeightScript>12</FontHeightScript>
<GaugeString>%((L:14TANKSET,number))%!5f!</GaugeString>
<Size>58,16</Size>
<Transparent>True</Transparent>
</GaugeText>
</Element>
<Element id="Element">
<FloatPosition>14.000,130.000</FloatPosition>
<Rectangle id="Rectangle">
<LineWidth>2</LineWidth>
<Width>58</Width>
<Height>16</Height>
<LineColor>lightslategray</LineColor>
<FillColor>black</FillColor>
</Rectangle>
</Element>
<MouseArea id="MouseArea">
<FloatPosition>14.000,130.000</FloatPosition>
<Size>29,16</Size>
<CursorType>UpArrow</CursorType>
<MouseClick id="MouseClick">
<Script>(L:14TANKSET,number) 100 + (>L:14TANKSET,number)</Script>
<ClickType>LeftSingle</ClickType>
</MouseClick>
</MouseArea>
<MouseArea id="MouseArea">
<FloatPosition>43.000,130.000</FloatPosition>
<Size>29,16</Size>
<CursorType>DownArrow</CursorType>
<MouseClick id="MouseClick">
<Script>(L:14TANKSET,number) 100 - (>L:14TANKSET,number)</Script>
<ClickType>LeftSingle</ClickType>
</MouseClick>
</MouseArea>
<Image id="refuel.bmp" Name="refuel.bmp">
<Transparent>True</Transparent>
</Image>
</SimGauge.Gauge>
</SimBase.Document>

