cancel
Showing results for 
Search instead for 
Did you mean: 

Press button hidden by image

JoVMo
Active Participant

Press button hidden by image

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

5 REPLIES 5
johnsold
Knight of NI

Re: Press button hidden by image

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

 

Lynn

GerdW
Knight of NI

Re: Press button hidden by image

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
Knight of NI

Re: Press button hidden by image

... 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.

Olivier_L
Active Participant

Re: Press button hidden by image

... 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


JoVMo
Active Participant

Re: Press button hidden by image

I try the transparent button. Tnx!