cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable clicked function if the clicked button is invisible ?

miker
Associate II

since the background image is set well and I use a invisible button, the clicked event can't be triggered when i click the '1' button; but if I set the '1' button is visible , the clicked even can be triggered , how to modify this ?

 

 

 

miker_0-1741079867852.png

 

1 REPLY 1
GaetanGodart
ST Employee

Hello @miker ,

 

To create an invisible button, the simplest way is to add a flexButton is to make the visible box 0 in width and height.

Look at this tutorial to see how to implement such button.

 

If this comment answers your question, I invite you to select it as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)