LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric meter digital display color?

I have a numeric meter control in my project.  I have the "digital display" visible.  Is it possible to change the font color of just the digital display, without chaning the font color of the meter tick numbers?

 

Background color works nicely, without affecting the rest of the control:

 

SetCtrlAttribute(panel,control,ATTR_TEXT_BGCOLOR,VAL_RED);

 

But a ATTR_TEXT_COLOR change will also turn the rest of the meter font that color.

0 Kudos
Message 1 of 3
(4,220 Views)

I have sort of a workaround, i.e. using the meter without the digital display and adding an extra numeric indicator/control... This involves two function calls to update the value but well...

0 Kudos
Message 2 of 3
(4,206 Views)

Indeed, that would work of course.  Oh well.  It was worth asking..

0 Kudos
Message 3 of 3
(4,198 Views)