- Messages
- 1,468
- Country

The code I have does its job perfectly ie. it displays text if the gauge is clicked on and then hides the text when clicked on again whilst on the ground. What I'm looking for as an extra feature is for the text to disappear by itself if the FO forgets to click to hide the text. But not to reappear until clicked on again but only after landing. Any suggestions welcome.
Code:
<Element>
<FormattedText X="236" Y="310" Font="Arial" FontSize="100" LineSpacing="120" Adjust="Center" Color="#661914" Bright="Yes">>
<String>
%((L:scratchpadz,bool) 0 !=)
%{if}
% Set TPI to%\n
%((L:TailTrim, number))%!7.1f!%
%{else}
%{end}
</String>
</FormattedText>
</Element>
<Mouse>
<Cursor Type="Hand"/>
<Click>(A:SIM ON GROUND, bool) 1 == if{ (L:scratchpadz,bool) 0 != if{ 0 (>L:scratchpadz,bool) } els{ 1 (>L:scratchpadz,bool) } }</Click>
</Mouse>
