Home > Enterprise >  I can click buttons even when the isClickable property set to false
I can click buttons even when the isClickable property set to false

Time:04-19

Here, I added the image in the debug menu you can see that the function enableOrDisable is being called but still, I am able to click the buttons and I have added the link for the whole code below the image

The Actual Activity code

CodePudding user response:

Use setEnabled propeties

Code be like

button1.setEnabled = false
button1.isClickable = false

CodePudding user response:

You maybe should use "setEnabled" instead of isClickable ?

  • Related