LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

transparent window pane

Solved!
Go to solution

Just wondering whether one can make a window pane transparent. The idea is to have a window with 4 panes, the lower right pane being invisible to save screen space.

Using the pane "color" property and a "transparent" color doesn't do the trick. Using Panel transparency makes all panes transparent.

Thanks for your comments.

0 Kudos
Message 1 of 7
(6,551 Views)

Raven Fans,

 

from what I understand (and tried), this is reproducing the now existing "set transparency" property of a *VI Panel*. I don't quite see how the "open hole" effect displayed in the first post can be achieved with the DLL calls used in the second.

I am looking for a similar property for a Front Panel *Pane*. I am not sure this is a widely wanted feature but I am attaching a schematic of what I  have in mind.

0 Kudos
Message 3 of 7
(6,499 Views)
Solution
Accepted by topic author X.

The DLL function allows you to control the transparency of a single color in the entire window (the "crkey" input, like one of those links said), even to the degree of making it disappear. In the "hole" example, this is simply a circle painted with that color. In your case, you can set the color of the pane background to the color you want to make disappear.

 

This is NOT the same as the transparency property, as the transparency property affects the entire window.


___________________
Try to take over the world!
Message 4 of 7
(6,464 Views)

I see. I had misunderstood the function of the DLL call. I guess using a decoration with the proper dimension and set to "scale with pane" will then fulfill my needs. Which, BTW, calls for a "Fit Decoration to Pane" property...although I could use a dummy control instead of a decoration.

Thanks a lot.

0 Kudos
Message 5 of 7
(6,452 Views)

 


@xavier wrote:

I guess using a decoration with the proper dimension and set to "scale with pane" will then fulfill my needs.


Or just color the background of the pane itself.

 


___________________
Try to take over the world!
Message 6 of 7
(6,441 Views)

Even better!

0 Kudos
Message 7 of 7
(6,417 Views)