From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Press button hidden by image

How can I use a button that is laying under an image?

0 Kudos
Message 1 of 6
(2,590 Views)

Make the button transparent and put it in front of the image.

 

Lynn

0 Kudos
Message 2 of 6
(2,585 Views)

Hi Jo,

 

you can't unless you move the button on top of that image...

 

Maybe you should explain what you gonna do?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(2,584 Views)

... or, you could respond to a click event on the image (I'm assuming you're using a picture indicator), get the coordinates, find out if they're within the rectangle of the button, and then trigger the button's click event.

 

Sounds to me like Lynn's suggestion is far easier.

0 Kudos
Message 4 of 6
(2,577 Views)

... or you can also customize a button with your image. Even having two images depending if button is pressed or not.

Olivier L. | Certified LabVIEW Developer


0 Kudos
Message 5 of 6
(2,564 Views)

I try the transparent button. Tnx!

0 Kudos
Message 6 of 6
(2,553 Views)