LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vista Front Panel Indicators

My testing shows that it is MessageBox font, not icon font.

I would avoid this, because it is global throughout Windows.  If a user can't stand seeing the font you specified, then your application breaks again.  If you install it on another machine 1 year from now, you have to remeber what you had to do.

I would suggest doing what I suggested the first time - use a Windows font for your controls, indicators, and labels that is available on both platforms, or change the application font in LabVIEW and your application.

In LabVIEW, the fonts can be changed in Tools->Options.  This will add an INI file entry for the change.   I changed mine to Times New Roman and had the follwoing entry:

appFont="Times New Roman" 13

so, you can specify the font and size to use for Application font and not have to change the Windows settings of every PC you put your program on.

You can add the same entry to your EXE's INI file.  If your EXE is named MyApp.exe, then you need to have a MyApp.ini.  If you happen to already have one, then add the following lines of code.  If you don't, create the file and add the follwoing lines:

[MyApp]
appFont="MyFont" MyFontSize

Where MyApp is the name of your EXE without the .exe, MyFont is the name of the font you wish to use, and MyFontSize is the size of the font you wish to use.

Message 11 of 12
(835 Views)

yes it seems that you are right it is not icon font as sugested in the following ni document

http://digital.ni.com/public.nsf/allkb/862567530005F09C8525643F0070A132

thanks for that changing the message box font fixed the problem.

yeah i will modifie the ini file so that users will not have to change there defualt windows fonts, was just changing them myself so i could see if that is what the problem was.

Thanks for your Help

0 Kudos
Message 12 of 12
(832 Views)