Disabled delete button in D365
FormCommandButtonControl delButton;
public void init()
{
#SysSystemDefinedButtons
super();
delButton = this.control(this.controlId(#SystemDefinedDeleteButton)) as FormCommandButtonControl;
delButton;.visible(false);
}
FormCommandButtonControl delButton;
public void init()
{
#SysSystemDefinedButtons
super();
delButton = this.control(this.controlId(#SystemDefinedDeleteButton)) as FormCommandButtonControl;
delButton;.visible(false);
}
No comments:
Post a Comment