LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

toggle button with image up and down

I am currently reprogramming an interface made at fisrt in Labview. I used buttons and I customized them to show 2 different pictures depending on their value (true or false). I used customise and import picture.
 
I need to used equivalent buttons but I only find picture button wich only allow one image (independant of the button value). Do have I to re-set picture (with setctrlattribute() ) every time button value change or is it a faster and more easy way to program such button ?
 
We want to support multi-language in our new code, so that we also want to change color of text when value change (text will not be include in image button like in . 
 
In conclusion I wonder wether is it possible to create new ctrl (like ctrl already existing in custom ctrl --> toollibs contrl ) with all the proprety I need.
 
Thanks for your support.
 
Attached you will find an example of my button in labview, which I want to remake in cvi.
0 Kudos
Message 1 of 2
(4,006 Views)
Hello!

I think that the control you would like to use in CVI is the Picture Ring control.  This allows you to add multiple pictures to the control.  I have attached a small example of its functionality, written in CVI 8.1.  Please let us know if you have any questions!

NickB
National Instruments
Applications Engineering
Message 2 of 2
(3,970 Views)