Thursday, February 27, 2014

Invisible Factbox in Ax 2012

To make Invisible Factbox in Ax 2012 you can write code below in particular event as per your requirement.

PartList       _partList  = new PartList(element);
FormRun     _formRun;
int                k;

for (k = 1; k <= _partList.partCount(); k++)
{
      _formRun = _partList.getPartById(k);
      _formRun.design().visible(false);
}