07-29-2009 09:29 AM
All,
I have created a custom X-Control for my application. As a part of the control, I need to use a *.png image for the background. I created the image to line-up with the XControl indicators. However, when I import the picture (using "Edit" >> "Import Picture to Clipboard..." followed by "Edit" >> "Paste"), Labview puts these incredibly annoying black bars on the left and bottom edges of the imported image. This gives the imported image a 3-D effect, which is undesireable in my application.
See attached screenshot for example. Is there any way to import the image without the ridiculous black bars? Any help would be appreciated. Thanks!
Mark
07-29-2009 09:42 AM
All,
Problem solved. The issue lies with the ridiculously tired programmer, and not Labview. My X-Control contains a Multipage control. The picture was importing on top of the control, and not directly into the specific page being viewed. By moving the imported picture out of the Multipage control, and then back in, I was able to "stick" the picture to my desired page, and the black bars have disappeared.
Sorry for the relatively simple question; hopefully others won't make the same mistake!
Mark
07-29-2009 02:40 PM
Yes, good catch, such a 'bar' means that you have a floating element, it should be gone when you change your VI/XControl to run mode.
By moving the picture 'into' the page you embedded it and there was not a floating element.
Ton