LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change button image without run the vi

Hi,

      ok yes  system is run but i am not do any  code inside block diagram for button image change. because i have lot of button in my front panel.

 

 

0 Kudos
Message 11 of 15
(898 Views)

Hi Gokul,

 

but i am not do any  code inside block diagram for button image change

Then use System buttons, they support mouse over effects (as has been said in message #3)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 15
(892 Views)

hi,

      how to use system button can u give me example for this

0 Kudos
Message 13 of 15
(888 Views)

Hi Gokul,

 

how to use system button can u give me example for this

- open the frontpanel of a VI

- right-click in an empty area, choose System -> boolean buttons -> OK button

- use the button you just like an "ordinary" button!

(The only difference is a System button provides 6 instead of 4 button images you can customize. The 2 additional images are used for the MouseOver effect…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 15
(884 Views)

GokulGKM wrote:

      ok yes  system is run but i am not do any  code inside block diagram for button image change. because i have lot of button in my front panel.


Nobody here knows how many "lots of" is. We also don't really know what kind of "button image changes" you want to trigger (slightly different highlight color? completely different custom image? etc.)

 

So please show us a typical front panel. Also show us a typical button in the various states:

 

  1. TRUE/mouse over
  2. TRUE/mouse not over
  3. FALSE/mouse over
  4. FALSE/ mouse not over

 

etc.

 

Currently, you are spoon-feeding us tiny bits of information and keep us guessing. Our answers cannot be much better than the quality of your question, so please give us complete information. Thanks!

 

 

0 Kudos
Message 15 of 15
(868 Views)