Disable or enable button on form

Hello, i've got a problem. I need to disable or enable "activity" of button depend of statement. This form is based on Interaction class. But i don't know how i can find exactly this button which i want to turn off. Can you help me? Should i find some information in properties in form or where?

Thanks :)

Related
Recommended