From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,997 Views)
Solution
Accepted by 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
(2,961 Views)

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

 

Best Regards,

António Cardoso

0 Kudos
Message 3 of 4
(2,955 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 LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(2,948 Views)