LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically import picture for a boolean button

Hi,
 
I need a series of boolean buttons with an image on them (the same for T and F conditions), so I customized the control and I imported a picture as decal.
But my question: is it possbile to programatcally change this picture (i.e. importing a new one from a file, and replace the old one)?
Now I'm not able to do it, so I'm using a picture control over the button (grouped) and I load/change its image.
 
Thanks in advance
 
Using LV 6.1 on Linux Fedora Core 3
Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 2
(2,690 Views)
The picture control is the way to go since boolean picts must be imported while the VI is edited. However, if you  put the pict over the button, you lose the button functionalities. Put the pict under the button and make the button transparent with the colour tool. Eventually, you don't need the tranparent button since you can react to mouse events on the picture control to achieve the same effect.


LabVIEW, C'est LabVIEW

Message 2 of 2
(2,687 Views)