how to use the 'button is clicked' to show or hide the image ?
how to use the 'button is clicked' to show or hide the image ? who can provide the sample program to be reference .

how to use the 'button is clicked' to show or hide the image ? who can provide the sample program to be reference .

Hello
You can use the method setVisible to manage the visibility of your image and you can use the isVisible method to know if it is currently visible or not.
Please find attached an example where clicking on a button toggle the visibility of an image.
Note that the code is directly inside the interaction as I do "execute C++ code" instead of "Call new virtual function".
I hope this helps!
If this post answers your question, I invite you to select it as "best answer".
Regards,
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.