ENV$("COLOR.HIGHLIGHT")

More advanced topics discussed.

Moderators: Susan Smith, admin, Gabriel

Post Reply
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

ENV$("COLOR.HIGHLIGHT")

Post by bluesfannoz »

ENV$("COLOR.HIGHLIGHT") is "#B5D5FF"

Ok I can see this Value

What can I do with it? Can I change it within BR?
Steve Koger
Computer Specialist
SEKESC-MACS Division
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

Post by John »

you can't change it, but you can use it to change BR by comining it into [[attribute]] [[statements]].
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

Post by GomezL »

In the environment variables there are a series of "COLOR." fields. These are provided by BR to let you know what colors the user has selected within their windows Theme.

COLOR.HIGHLIGHT is there color that windows uses when highlighting text.

Our application uses these environment variable to copy the colors to our own attribute. For example

exe 'config attribute [L]R/'&ENV$("COLOR.HIGHLIGHTTEXT")&":"&ENV$("COLOR.HIGHLIGHT")

The above statement would assign the [L] or "LightBar" attribute to use the Windows Highlight colors.
Post Reply