November 3, 200520 yr Can one of you kind souls tell an old dumb guy why the tooltips won't read on this? Tanks are; LeftMainRightMainLeftAuxRightAuxThis message box sure scatters the code around huh!!!Thanks John
November 3, 200520 yr >Can one of you kind souls tell an old dumb guy why the>tooltips won't read on this? Tanks are;> >LeftMain>RightMain>LeftAux>RightAux>>> > > -SNIP- removed for brevity...> >>This message box sure scatters the code around huh!!!>>Thanks John You might try something like this, John. Although a bit "wordier", I know that it does work. Replace your "" with this: Left Main Tank (%((A:Fuel tank left main quantity, gallons) 6.7 * flr)%!d! lbs) Paul
November 3, 200520 yr Author Paul thanks very much. That string works like a champ. Uhhh,, what part of the brackets would I have to remove to read in gallons. Some of the folks in DC3 Airways like gallons readout, for myself I had rather have lbs so I will use it as is. I made this four tank gauge maybe a year ago after one of our pilots took a pic of it in a DC3. I made it from the pic.John
November 4, 200520 yr Moderator Left Main Tank (%((A:Fuel tank left main quantity, gallons))%!d! gals) Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
November 4, 200520 yr >Paul thanks very much. That string works like a champ. Uhhh,,>what part of the brackets would I have to remove to read in>gallons. Some of the folks in DC3 Airways like gallons>readout, for myself I had rather have lbs so I will use it as>is. I made this four tank gauge maybe a year ago after one of>our pilots took a pic of it in a DC3. I made it from the pic.>>John Lets see if I can do this without screwing it up :) Left Main Tank (%(A:Fuel tank left main quantity, gallons) %!d! Gal)I think that will do it...the "6.7 * flr" part converts the gallonsreturned by the "(A:Fuel tank left main quantity, gallons)" partof the statement to pounds ( multiples gallaons by 6.7 )The "!d! lbs" part defines the numeriacl string conversion andadds the text "lbs", so the becomes "!d! Gal" for your use."Gal" can be "Gallons" if you wish.Here's a statement that will display the fuel state in percent:Right Tank (%((A:FUEL RIGHT QUANTITY, gallons) (A:FUEL RIGHT CAPACITY, gallons) / 100 * near)%!d!%%)By looking at various structures in the XML code you can begin tounderstand what does what :) Paul
November 4, 200520 yr Bill is........ THE MASTER of the tooltips :-)Regards,Roman[a href=http://www.wheelchairaviators.org][/a] FS RTWR SHRS F-111 JoinFS Little Navmap
November 4, 200520 yr Author Thanks Bill and Paul. After a bit I think I could replace the 6.7 with 1.0 and it would prob work. And Paul your right, by looking at the string it comes to make sense even to me. LOL I wish there was a better tutorial on this than the MS sdk.John
Create an account or sign in to comment