LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why are some control backgrounds white and some gray?

I put together a vi and some of the controls have a white background, some have gray, and the increment/decrement buttons vary.  How can I make them look alike, preferably white backgrounds?
 


Message Edited by SCohen on 01-16-2008 04:43 PM
0 Kudos
Message 1 of 6
(3,900 Views)
Generally the gray background is a control from an earlier version on LabVIEW. Most of the time you can pop-up on the control and choose replace. Replace it with the same control type (numeric, boolean, etc) from the modern pallette.
0 Kudos
Message 2 of 6
(3,895 Views)

Yes, I tried that, it's how I got from the square arrows to the rounded arrows.  But the background is still gray.

I can just put in brand new controls and rewire, but I was curious how to change it.

Steve

0 Kudos
Message 3 of 6
(3,892 Views)
I hadn't noticed that. I guess you'll have to change the background color with the paint tool. Set it to "Control Background".
0 Kudos
Message 4 of 6
(3,888 Views)


SCohen wrote:

Yes, I tried that, it's how I got from the square arrows to the rounded arrows.  But the background is still gray.


I'm pretty sure that is by design - the idea is that even if you change to a modern control, you don't lose your defined colors.
 
The easiest way to change this is to use the eye drip tool which gets the colors from whatever you click on and use that to color the new numeric using the paint tool. The quickest way is changing to the paint tool (shift+right click or a couple of tab clicks if you don't have the tool palette visible) and then hold Ctrl to get the eye drip tool.

___________________
Try to take over the world!
0 Kudos
Message 5 of 6
(3,870 Views)

Confirming the above with notes

1) that system controls get their color schemes from the OS and can't be changed. For cross platforms apps, these are the prefered control types.

2) Control and indicators are easily distingusihed by the white/grey background by default.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(3,860 Views)