Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

What's wrong with my <Tooltip>?

Featured Replies

Here's the relevant code. I'm wanting to know 2 things. a) Why doesn't changing the "action" type of a failure work? :( What is wrong with my tooltip? I want the tooltip to give the pressure in psi.

<snip...><Element> <Failures><SYSTEM_ENGINE Action="0"/></Failures> <Position X="128" Y="128"/> <Image Name="Engine_Oil_Needle.bmp" PointsTo="West" Luminous="Yes" ImageSizes="54,12,54,12">  <Axis X="92" Y="6"/> </Image> <Rotate>  <Value Minimum="0" Maximum="150">(A:ENG1 TRANSMISSION TEMPERATURE,CELSIUS)</Value>  <Nonlinearity>   <Item Value="150" X="182" Y="48"/>   <Item Value="0" X="182" Y="209"/>  </Nonlinearity>  <Delay DegreesPerSecond="2"/> </Rotate></Element><Mouse> <Area Right="120">  <Tooltip>   <String>%((A:ENG1 TRANSMISSION PRESSURE,PSI))%!02d!</String>  </Tooltip> </Area></Mouse></Gauge>

Thanks

Hi,1. read somewhere that the failure tags belong right under the value tags (fs9 feature)2. will have a look at the tooltip, wrestling myself with the strings!Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

The tooltip already is a string, so loose the definition.So eg.Pressure: %((A:ENG1 TRANSMISSION PRESSURE,PSI) )%!02d!Also note the space between the two ) )...I think that's relevant as well.Cheers, Rob Barendregt

And I just tested:IAS: %((A:AIRSPEED SELECT INDICATED OR TRUE, knots))%!d! knotsAnd that works OKFor Transmission pressure it reads 0.0000000Something in the airfile?Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Yes, this variable is available in engine type 5 I believe. You might have been using a prop or something.Thanks for the help!

  • Author

Thanks for this thread guys!! I was at the same place (but your thread help me to determine that my FS9 won't display a gauge if I have manually put in the degress symbol. *shrug*)

Yeah, it would be nice if we could have a degrees symbol in there too. Use 3 "%" like this %%% to get the "%" symbol. One is to get text mode, another to "escape" the symbol, I think.

Try using #$176 (or something similar) to display the degree symbol. Hmm, that doesn't *look* correct, and have no gauges available. Search all gauges and SDK documentation for the number 176, and something should show up.Edit; found an example I'm using using degrees:Omni Bearing Selector Knob Nav 1 (%((A:NAV1 OBS, degrees))%!d°)

  • Author

>Try using #$176 (or something similar) to display the degree>symbol. Hmm, that doesn't *look* correct, and have no gauges>available. Search all gauges and SDK documentation for the>number 176, and something should show up.>>Edit; found an example I'm using using degrees:>Omni Bearing Selector Knob Nav 1 (%((A:NAV1 OBS,>degrees))%!d

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.