Sign in to follow this  
Guest Karl R Pettersen

Text string with XML gauge ??

Recommended Posts

Hy,I would like to ask you if there's the possibility to link an FS string text (the green line on the screen) in a XML gauge.For example, if I push a XML button gauge in the cockpit, the clock time appair in the text line on the screen (just an example ;-))ThanksStefano- Italy -

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Not that I know of. For such "info devices", I open a window containing the information I'm asking for, and have it automatically close after a short while. I.e. a "ask ATC for wind" thingy.

Share this post


Link to post
Share on other sites

Sorry but i haven't understood the response.Could you give me an example ??Thanks a lotStefano

Share this post


Link to post
Share on other sites

Hi,All kinds of strings can be made visible with xml gauges by pressing some button, rotating a knob etc.But it is not totally clear what you want.Show a picture or some code..Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

I was only suspecting that he wants to write text in the textwindow where ATIS and chat information is displayed. Don't think you can write to this special window, although please correct me if I'm wrong. I could have had use for it myself :)Here is some example code of how I do it to display information that removes itself automatically after a short while - no need to click to close it.The icon that brings up the window, simplified here:(P:Absolute Time,seconds) 5 + (>L:Windcheck Timer,seconds) 75 (>K:PANEL_ID_OPEN)The windcheck window gauge, assigned to it's own window in panel.cfg:*close autoopened windows if appropriate*)(P:Absolute Time,seconds) (L:Windcheck Timer,seconds) > if{ 75 (>K:PANEL_ID_CLOSE) 0 (>L:Windcheck Opened,enum) }(*And the stuff you want to display down here*)Don't have time to proofcheck this, but should give you a hint anyway.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this