Nov 9, 2016

Hiding enum elements on runtime AX 2012 (실행중인 화면에서 이넘값 컨트롤)

화면(Form) 컨트롤의 enter 메소드에 아래와 같이 작업합니다.
enter method in a control on a form

public void enter()
{
 this.delete(enum2str(ABC::A));
 this.delete(enum2str(ABC::B));
 this.delete(enum2str(ABC::C));

 this.add(enum2str(ABC::A));
 this.add(enum2str(ABC::B));
      
    super();
}

No comments:

Post a Comment