Welcome to TechNet Blogs Sign in | Join | Help
One more note on color: HilightColor

I meant to mention in my previous post today on color that there are a few gauges that utilize the "HilightColor" (yes, it should be spelled "HighlightColor", but I have no control over what was written in FS8/9) attribute, including the Beech Baron clock.  Here's a snippet of the XML:

<Text ... Color="#101010" BackgroundColor="transparent" HilightColor="white">
   <String>%((P:Local time,hours) flr 11 + 12 % 1 +)%!2d!:%((P:Local time,minutes) flr 60 %)%!02d!:%((P:Local time,seconds) flr 60 %)%!02d!</String>
   <Hilight>
      <SELECT_CLOCK_HOURS Start="1" End="2" />
      <SELECT_CLOCK_MINUTES Start="4" End="5" />
      <SELECT_CLOCK_SECONDS Start="7" End="8" />
   </Hilight>
</Text>

This will change the color of the hour or minute or seconds section of the clock display from dark grey (almost black) to white when the user changes the time  - which happens when a CLOCK_HOURS_DEC, CLOCK_HOURS_INC, CLOCK_MINUTES_DEC, or CLOCK_MINUTES_INC is triggered.

Posted: Tuesday, November 22, 2005 7:23 PM by EnGauged

Comments

Mitch said:

How do you add border and background color to text?

I would also like to say this is such a fantastic resource, wish it was here about 4 yrs ago.

Thanks so much

Mitch
# November 23, 2005 4:19 PM

Bill Gates said:

Come on Susan, this is too technical. Spread some goss or rumor about flight sim 10.
# November 24, 2005 5:00 AM

Jeff said:

What do the values in the Start and Stop attributes mean?

Thanks...
# January 14, 2006 3:13 AM

forced sex said:

Wellcome to the real world.
# June 6, 2006 7:28 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker