05-08-2015 03:37 PM
Hi everyone. I started off doing my labview program from an already written examply program. So I was using the same indicators as were there to begin with. I'm trying to finalize the front panel when i realized that the label on a lot of the indicators have this background color as shown in the pic.
I want to basically get rid of the background color or shape that contains the label so that it's just a text like all default Labview indicators. I've been trying to find solutions but have yet to come acros any.
Question is if there is a way to get rid of what I will call a texture box containing the label.
05-08-2015 04:06 PM
Would doing a find and replace work for you? Try ctrl+f.
05-08-2015 04:22 PM
I right clicked on the indicator itself and tried replacing it with another numeric indicator but the baground container for the label remains.
I'm not sure what ctrl+f does but it doesn't seem to do anything in my case.
05-08-2015 05:11 PM
Have you tried using the coloring and font tools?
05-08-2015 06:56 PM
Yes i have. The problem is that when i change the color it still has an outline of the box and isn't transparent so you can see the front panel grid lines.
I've attached the control as a VI see if it helps. I changed the font in case some of you don't have 7segment font.
05-08-2015 07:24 PM - edited 05-08-2015 07:26 PM
I think if you use the eyedropper tool on a label that has the formatting you want, it picks up the border as well as the background color. Then use the paint bucket to fill in the label you want to change.
Oh, and the "T" in the upper right hand corner of the color chooser is for transparency.
05-08-2015 08:01 PM - edited 05-08-2015 08:01 PM
Also don't forget that you can press the spacebar while on the color pallete to switch between (1) fill, (2) outline, or (3) both colors. The default is both colors.
It took me a few seconds to turn your control into this:
05-09-2015 12:44 PM
I never knew that trick with the spacebar ... thanks, Christian.
Bob (always learning) Schor
05-09-2015 12:44 PM
Another option is to replace the control with a standard one from the palettes.
I decided to check to verify this before posting. So I made a control where I changed the font, size, color, and style of the label text and the numeric value text. Then I replaced it with the default modern numeric control. This restored the label font to application font but did not restore the numeric value text font. I had to select the numeric value and then choose Application Font from the menu bar.
Doing a "double replacement" where I first replace the control with a Dial and then replaced the Dial with the Standard numeric control resulted in a normal appearance.
Simply selecting the control and choosing Application Font restores the size but not the color.
Lynn
05-09-2015 01:18 PM - edited 05-09-2015 01:19 PM
Yes, some things are sticky. For example in the past I often replaced default classic controls with modern and was annoyed with the retention of the dark background.