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.

Share this post


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

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

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