LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controls in LV-App appear different under NT 4.0

Hi there,

i deployed an executable application build under LV 7.0 PDS on a Win2000 Platform. I use a Windows-Style "Dialog Button" with a decal picture. On Win2000 all is fine, but after installing the app (incl. LV7.0 Runtime Engine for 2000/XP/NT with MS-Installer) the button appears with differing size. Anyone got an idea? (no propertiy-nodes used to change any property of the button at runtime)

thx
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 1 of 4
(2,625 Views)
It could be the font on the button text. By default, the buttons size to the size of the text that is inside them (even when hidden). If you turn the button autosizing off by selecting Release Text in the boolean text popup menu it will not do this anymore. Since the font adapts to the the system and Windows NT and 2000 use different default fonts, this can cause this issue because the font sizes are different.
0 Kudos
Message 2 of 4
(2,625 Views)
sounds good!

i'll test it and let you know.

thx
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 4
(2,625 Views)
Hi chrisger

I agree wiht Jpeters.
One way to solve the fonts problem is using the app.ini file that goes whit your exec. Copy your font settings from labview.ini to that file to keep the fonts as originally. If NT has not those fonts, look for some similar ones and try different sizes.

Hope this helps and shows utility of app.ini file.
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 4 of 4
(2,625 Views)