LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove a picture control's frame ?

Solved!
Go to solution

I have an app where I need to place several 200x200 pixel picture controls on the front panel.

I would like to remove the standard frame/border so that only the content is displayed.

 

 

0 Kudos
Message 1 of 4
(4,938 Views)
Solution
Accepted by Ben_01880

Use the picture from the classic pallette and use the paint brush tool to color the border transparent (T).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 4
(4,937 Views)

 

Can it be done programatically?

 

0 Kudos
Message 3 of 4
(3,418 Views)

Directly not. But you can do some tricks to emulate a frame around your picture control. One possible way is to use a decoration, like the "Raised Frame": create a Frame decoration, and put it around your Classic Picture Control. Make the frame of the Picture Control invisible (brush tool). Now you can programmatically make visible or invisible the Frame decoraton around your picture...

 

Edit: note that, the code below acts on ALL decorations in your Front Panel. You can get more info about decorations here:

http://digital.ni.com/public.nsf/allkb/FF09C4E6BD4546458625704A004C6ED9

 

Frame_add_remove.png

 

 

 

 

0 Kudos
Message 4 of 4
(3,411 Views)