LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Some otherwise identical numeric controls have white behind numbers, others have grey

Solved!
Go to solution

On the attached screen capture, there are two Express numeric controls in the lower right corner.  I did the Replace operation to be sure that both are the identical type of control, yet one has white behind the numbers and the other has grey behind the numbers.

 

I did not change any of the parameters of these controls when I inserted them.  I do not see any way to change the number background without building a custom control.

 

Both controls appear in the same loop, are type DBL, floating-point with 2 digits of precision.

 

Can someone tell me why these backgrounds are different and if there is anything I can do about it? 

0 Kudos
Message 1 of 16
(3,683 Views)

THe normal answer is "one is a control and the other is an indicator" but based on both having the increment decrenment buttons, the Express VI si doing something goffy.

 

What you can do...

 

Switch over to the paint brush tool and color the background of the one you don't like to match the one you like.

 

Ben

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

The Express numeric control is nothing but the standard numeric control in the Numeric palette. It appears as if the control may have been changed to an indicator and then back again, but when it got changed back the color did not change back to white. What version of LabVIEW are you using?

 


Can someone tell me why these backgrounds are different and if there is anything I can do about it? 

Have you tried simply using the paintbrush tool to change the color?

 

 

EDIT: What Ben said.

Message Edited by smercurio_fc on 06-08-2010 01:15 PM
Message 3 of 16
(3,670 Views)
If I select the Paintbrush tool, it deselects the control, so I cannot paint the numeric field.
0 Kudos
Message 4 of 16
(3,663 Views)
I am using an evaluation version of LabVIEW 2009.
0 Kudos
Message 5 of 16
(3,659 Views)

wildcatherder wrote:
If I select the Paintbrush tool, it deselects the control, so I cannot paint the numeric field.

You do not need to have the control selected to paint it. Click on the coloring tool. Move to the area you want to color. If you left-click then the area gets colored with the current color. If you right-click a popup is displayed to choose the color. Please read the LabVIEW Help on using the coloring tool.

0 Kudos
Message 6 of 16
(3,642 Views)
Sorry, it just doesn't work.  I click on the paintbrush and I can change the color of the up/down buttons associated with the control but I cannot change the color behind the numbers.
0 Kudos
Message 7 of 16
(3,629 Views)
Solution
Accepted by wildcatherder

You need to choose the background color to change the background of the indicator.  Notice that there are two color boxes when choosing colors.  The top left is for the text.  The bottom right is for the background.

 

- tbob

Inventor of the WORM Global
Message 8 of 16
(3,626 Views)
It looks like it is going to be easier just to replace the odd control and get on with my life.  I thought there was some significance to the background color but other than control/indicator, apparently not.
0 Kudos
Message 9 of 16
(3,622 Views)

You got it tbob .  Have to change the BACKGROUND color for the brush to color a background - riiiiight.  

Thanks to all who responded. 

0 Kudos
Message 10 of 16
(3,619 Views)