Jump to content
Sign in to follow this  
phjvh

BackgroundColor XML FS9

Recommended Posts

Hi all I use text color {clr} font {fnt} any one know if you can use background color with this command in formatted text.


Paul EGLD

Share this post


Link to post
Share on other sites

>> Hi all>> I use text color {clr} font {fnt} any one know if you can>use background color with this command in formatted text.{bck} background colorFor a complete list, see Susan Ashlock's blog:http://blogs.technet.com/engauged/archive/...s-part-iii.aspx


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Thanks Bill Lots of useful stuff in Susans list Paul


Paul EGLD

Share this post


Link to post
Share on other sites

Hi,Interesting to testBackgroundColorValue="......"and the corresponding {bck1}.....{bck)etc.as used with "Color"Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Hello Jan That gave me some clues! {fnt1}%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) ==)%{if}%{bck2}%((@c:FlightPlanWaypointIdent))%!s!%{else}%{bck}%((@c:FlightPlanWaypointIdent))%!s!%{end}%{end} This code gives a gray background to the active waypoint name in the legs page like in a 737 NG FMC. Where {bck2} is a normal formatted text added color number, and {bck} removes the background color. Paul


Paul EGLD

Share this post


Link to post
Share on other sites

Paul,Did some tests. doesn't work.You need a lot of: (2) (3) (4)etc.and the sequence number determines the color and the background color of the text.So for example:/{clr2}/{bck3}text/{clr}/{bck} gives a green text on a red background.Jan"Beatus ille qui procul negotiis..."

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...