Monday, 30 January 2017

Code for progress bar in ax 2012

static void Progressbar_ProgressbarBars(Args _args)
{
#AviFiles
SysOperationProgress Progressbar = new SysOperationProgress();
int i;
;
Progressbar.setCaption("Progressbar bar example…");
Progressbar.setAnimation(#AviUpdate);
Progressbar.setTotal(50000);
    for (i = 1; i <= 50000; i++)
    {
    Progressbar.setText(strfmt("The value of i is %1", i));
    Progressbar.setCount(i, 1);
   }
}

No comments:

Post a Comment

intercompany PO multiple product receipt by x++

public void processStampICPO(PackingSlipId _deliveryNote,                             Transdate _deliverydate,                             ...