LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW access Windows colour settings?

Using LabVIEW 5.0.1, can I get hold of, say, the 3D button colour so that I can change my front panel settings accordingly?
0 Kudos
Message 1 of 4
(2,868 Views)
> Using LabVIEW 5.0.1, can I get hold of, say, the 3D button colour so
> that I can change my front panel settings accordingly?

If you call the system functions that publish it. I believe the
function is something like GetThemeColor and you pass in a selector
telling them which color you want.

Or, if you upgrade to LV6.1, we have symbolic colors built in. You can
color the controls interactively to be the system control color and they
will automatically follow the system colors. There is also a VI that
will give you the RGB of the system colors that LV exposes.

Greg McKaskle
0 Kudos
Message 2 of 4
(2,868 Views)
I just created the VI for you. You can download it from
my website. Hope it does what you want.

George Zou
http://gtoolbox.yeah.net
George Zou
Message 3 of 4
(2,868 Views)
Thanks George, any clues as to what's going on inside that CIN?!
0 Kudos
Message 4 of 4
(2,868 Views)