If I change the background color of faceplates and details is there a way to globally change the text color on the faceplates and details. For example, if i change the background color to dark blue or black, how can i change the text color so it is readable on the new background color?
Yes you can, a few different ways. If the text foreground color is animated (like the PV, SP, OUT datalinks), the datasource for the animation is typically a global variable (eg. frsVariables.const_glb.NamedColorEntries.gs_pv.CurrentValue). If you click on the Advanced button you will find the threshhold table(eg. frsVariables.Named_Colors), and the color can be changed by changing the color in the threshhold table.
If the text is not animated (likely), you can animate with a global variable/threshold table, but this may be time consuming. Otherwise you can manually change the foreground color in Workspace (Configure Mode), by right-clicking>properties and change the foreground color of the text. The final way is to change the text foreground color in the faceplate VB code for CfixPicture_Initialize subroutine. The script is " txtEnable.ForegroundColor = 16711680" where txtEnable is the name of the text object and the number is the numerical value of the color that you want.
I hope this helps and hope the group will let you know if I've missed anything.
Kathy Pate
Toray Carbon Fibers America
Decatur, AL 35601
kathy.pate@toraycma.com
In reply to kathrynpate:
Thanks so much for your help!