Skip to main content

Notifications

Announcements

No record found.

How to hide button from the design of form using x++ code in ax 2009?

 

if you want to hide button from the design of form using x++ code use the following code in  executeQuery method in the methods of the data source of the specific form  : 


public void executeQuery()

{

 

element.design().controlName("btn_ProcessBatch").visible(false); 

}

here you will write the control name :  ("btn_ProcessBatch")


 

Comments

*This post is locked for comments