LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you programmatically change a picture control frame/border

Solved!
Go to solution
In a platform neutral manner can I programmatically change a picture control frame/border
0 Kudos
Message 1 of 28
(4,677 Views)

If you use the picture from the classic pallette you can paint the border transparent. Is that of use?

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 28
(4,667 Views)
What I mean is during runtime.
0 Kudos
Message 3 of 28
(4,662 Views)

And you can do away with the border alltogether by setting the resizeable window selection to unchecked.  (the border is to grab for resizing...if you don't want to resize it, the border goes away.)

 

Hummer1

 

Always changing size

0 Kudos
Message 4 of 28
(4,661 Views)

Please define "change" so we don't waste our time guessaing at what you need.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 28
(4,651 Views)
What I want is to alter the color or visability while the VI is running.
0 Kudos
Message 6 of 28
(4,648 Views)

You can make it look that way using many differnt methods.

 

The simplest is to make the border transparent and put a boolean behind the picture. Size the boolean so it looks like it is the border of the picture. Change the color of the boolean and you are on you way.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 28
(4,643 Views)

Assume I have a Vi that has a Picture Control.

I run the VI. I currently alter the size, content, and location

under program control. I just want to change the border color

from red to green, programmatically. 

0 Kudos
Message 8 of 28
(4,639 Views)

Resize and reposition both.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 28
(4,633 Views)

Altho this is a bit of a kludge, it might work. I cant find a Boolean control that it selt 

does not have it's own border. 

0 Kudos
Message 10 of 28
(4,614 Views)