Jump to content
Sign in to follow this  
Guest Vorlin

Dynamic help

Recommended Posts

Guest jp_langer

Hello,I am working on a Vampire panel which had generally no nav aids. But I have installed and developped a double instrument which switches from RMI to ILS when you click in the center of it. My problem is the way to make dynamic helps according the instrument represented. I know how to switch from one static text to another through a callback, but not from one dynamic text to another. For instance my helps on the button should be :- When in RMI mode : "Switch between VOR1 and VOR2 (actually VORx active)"- When in ILS mode : "Course selector (actual course XXX degrees)" Any help would be greatly appreciated to transfer the values in the X variables.In fact, I don't know two things:- How to concatenate two text strings- How to transfor a numeric value (the heading for instance) in a string to concatenateIf you can explain me, it's easy to make both strings in a callback which returns the right string according the gauge represented for the help.RegardsJean-Pierre

Share this post


Link to post
Share on other sites
Guest jp_langer

Thank you Doug for these informations.Best regardsJean-Pierre

Share this post


Link to post
Share on other sites
Guest Vorlin

Jean-Pierre,The ability to have a tooltip be dynamic is done this way:%ADF(%((L:ADFTrue,bool))%{if}Bearing True%{else}Bearing Relative%{end})This has the tooltip display "ADF Bearing True" or "ADF Bearing Relative" depending on an L-Var.Hope it helps.Scott / Vorlin

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...