LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

button picture item

Hi

How can I control the picture item of a button? Since a button has 4 picture item under Customize, can I pass the value 1 to the button programmatically so that the button will display the picture item 1... ?? THanks
0 Kudos
Message 1 of 14
(5,110 Views)
are you talking about a 'picture ring' control/indicator??
0 Kudos
Message 2 of 14
(5,091 Views)
I'm talking about the OK button... Because I couldn't find a property to control the picture item which I changed it from the Customize.. Thanks
0 Kudos
Message 3 of 14
(5,087 Views)

No, You cann't set it programmable, it is hard set by customization.

 

________________________________________________________


Try to make everything Automatic
0 Kudos
Message 4 of 14
(5,082 Views)
Moreover, the control you're referring to ('OK BUtton') is a boolean with 2 states (true and false), the four pictures you're referring to are the following:
False,
True
transition False to True
transition True to False

(i'm not sure of the order)

If you want to contol the pictures you'd better use the picture ring, or a seperate picture item (Have you thought of X-Controls?) They look like the perfect tool for you..

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 5 of 14
(5,076 Views)
What I wanted was when the user point (mouse over / enter) to the OK button, the picture of the OK button will be changed.. Is it possible for OK button? I know how to control picture ring but not the OK Button..... tq
0 Kudos
Message 6 of 14
(5,072 Views)

For this goal, that you can use a picture indicator, let an "OK" button over it. and make the OK button is transparent, as the mouse on it, event structure call picture image....

if you don't know how to make it, that I can make a simple sample for you reference.

________________________________________________________


Try to make everything Automatic
0 Kudos
Message 7 of 14
(5,072 Views)
Hi Yukee..

Could you pls make an example from your explanation? I didn't get it.. Smiley Tongue Thanks
0 Kudos
Message 8 of 14
(5,068 Views)
OK. enclosed
________________________________________________________


Try to make everything Automatic
Message 9 of 14
(5,069 Views)
THANKS YukeeSmiley Very Happy
0 Kudos
Message 10 of 14
(5,064 Views)