LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to set font properties of entire VI front panel

I have some code. Lots of UI front panels. Many controls do not have consistent font sizes. Is there any way to fix this quickly without going to each control and setting manually? Thanks in advance.

PaulG.
Retired
0 Kudos
Message 1 of 2
(2,326 Views)

On a single VI you can simply select all the controls and change the font using the dropdown menu - this will change the font for all selected items.

 

If you're trying to do this for multiple VIs then you'd have to resort to using the VI server. You can get a reference to the VI's front panel and then iterate over all the controls/indicators. Properties are available to set the font for captions and labels and the control text, if it has any (like numeric controls). Basically, 2 for-loop. One loop for the VI references, and another for the control references.

Message 2 of 2
(2,322 Views)