This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Changing Text or Background Color of Control or Indicator in LabVIEW

Updated Sep 5, 2025

Environment

Software

  • LabVIEW

You can programmatically change both the background color of a string indicator’s text box and the text color of its label in LabVIEW. This article shows you how to correctly modify the full text box background as well as adjust the label text color, providing more control over the appearance of your controls and indicators.

  1. Create a Property Node for your control or indicator.
    1. Right-click the control or indicator on the block diagram.
    2. Select Create » Property Node.
  2. From the Property Node, select Text » Text Colors » BG Color.  
  3.  Right-click the Property Node and select Change All To Write. 
  4.  Place a Color Box Constant on the block diagram and wire it to the input terminal of the Property Node. Alternatively, right-click over the property note, select Create »Constant/Control.   
  5. To change the label text color, select Text » Text Colors » Label » Text Color as the property, or BG Colors for the background color, then wire a Color Box Constant or control.

 

Note: When selecting the property, you may see both Text » Colors » BG Color and Text » Text Colors » BG Color. These two properties have the same name on the Property Node but behave differently:

  • Text » Colors » BG Color changes only the background color of the control. Because the string text box overlaps this area, only a small border of the new color is visible.
  • Text » Text Colors » BG Color changes the background color inside the text box itself, making the change fully visible.

 

As shown in the image, the label and background colors were successfully customized in LabVIEW, improving the visual distinction of the control elements.