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?
You mentioned an interaction class, therefore I assume you mean a list page in AX 2012. In that case, look at How to: Enable and Disable an Action Pane Button on a List Page [AX 2012].
Next time, please attach a tag with your version of AX (e.g. AX 2012).