LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Default font for XP or 7

Solved!
Go to solution

how can we set the same default font font for XP or 7 al labview

0 Kudos
Message 1 of 4
(1,770 Views)
Solution
Accepted by topic author acardoso

In LabVIEW the default font is the one use by the Windows dialogue box, it can be different between OS. In Fact, the size changes between Windows XP and Windows 7. 

The problem should disappear if you change the (.ini) file of your LabVIEW. You can find it at this path:

C:\Program Files (x86)\National Instruments\LabVIEW 2021\LabVIEW.ini 

Add these lines at the end of the file to have a homogeneous front panel: 

FPFont="Tahoma" 13 
BDFont="Tahoma" 13 
appFont="Tahoma" 13 
dialogFont="Tahoma" 13 
systemFont="Tahoma" 13 
hardCodeFontNames=True 

Best regards.

Sabri JATLAOUI

Message 2 of 4
(1,734 Views)

For compiled executables where should I do that settings? Which section ?

 

Best Regards,

António Cardoso

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

Hi Antonio,

 

you should put that keys into the EXE ini file. There's only one section with the name of the EXE...

When creating the EXE you can also use your own ini file: Usually I create the EXE once, use the default ini file created by AppBuilder to include my additional keys and then use that changed ini file for all further EXE building steps...

Best regards,
GerdW


using LV2020 on Win8.1+cRIO
Message 4 of 4
(1,721 Views)