LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a indicator transparent grey?

Hi,

 

I would like to make the background of a string indicator transparent grey on the FP. No Problem making it either transparent or grey, but I don't know how to make it transparent and grey at the same time.

 

Would anyone know?

 

Labview 8.5. & XP

 

Thanks a lot,

 

Marc

0 Kudos
Message 1 of 24
(5,405 Views)

I'm not sure I follow you.

 

If you make a control or indicator transparent, that means there is no color.  Whatever is behind goes through.

If you make it grey, then it is grey.  It is not transparent.  You can't have both at once..

 

Now, do you want to see something underneath the control or indicator and see it as grey?

If so, then make the control / indicator transparent and color whatever is in the background grey..

 

Or maybe I totally didn't understand what you want to do..

 

Can you post an example code of what you want to do?

 

R

Message 2 of 24
(5,403 Views)

HI Marc,

 

I am in the same boat as JLV re: understanding what you are looking for.

 

Please post some more words to flesh this out or post some images to illustrate what you need.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 24
(5,377 Views)
Do you mean translucent grey?   i.e. 50% see through.
Jon D
Certified LabVIEW Developer.
Message 4 of 24
(5,368 Views)

Hi Joe and Ben,

 

Thanks for answering and sorry for not being clear. I would like to make a kind of transparence that has a certain level of grey : instead of seing exactly the colours behind the indicator, I would like to see them with a kind of grey filter.

 

Hope this helps a bit more,

 

Marc

0 Kudos
Message 5 of 24
(5,338 Views)

Hi Mythilt,

 

Thanks for answering too.

 

Yes I think this is what I am looking for.

 

Marc

0 Kudos
Message 6 of 24
(5,337 Views)

As others say, it is either transparent (and then it will show grey if what is underneath is grey) or it is grey. Perhaps what you really want is to have its color follow the system settings...in which case I recommend either using a dialog-type control...or color the control with the dialog-colors.

 

Transparency (or any other color, dialog colors as well) is achieved like this:

http://forums.ni.com/ni/board/message?board.id=170&thread.id=360321

0 Kudos
Message 7 of 24
(5,312 Views)

Translucency is not an option for controls in LV as far as I am aware...the only object you can make translucent is windows.

 

If this was a very important feature you could in other words fake it by putting the control in a separate window that you place in the right position and make translucent...a very awkward solution though.

0 Kudos
Message 8 of 24
(5,308 Views)

What Mads is suggesting is probably what you are looking for.

 

You cannot have a transluscent grey control in the sense that you will see what is underneath it.  Any color other than transparent will hide whatever is beneath the control.  So the trick is to color whatever is underneath with the desired color and then make the one above transparent.

 

RayR

0 Kudos
Message 9 of 24
(5,306 Views)

I habe attached what can be done with Word and that I don't know how do with LV. The blue and red squares represent the photo I am writing on, and the 2 filters (indicators)are what I want to reach . I don't know if this is possible whith Labview.

 

Regards,

 

Marc

0 Kudos
Message 10 of 24
(5,285 Views)