AX的进度条比较简单,参考以下代码。
1 #avifiles 2 SysOperationProgress simpleProgress = SysOperationProgress::newGeneral(#aviUpdate, 'Posting', 100); 3 ; 4 simpleprogress.setCaption('Please wait...'); 5 simpleProgress.incCount(5); 6 simpleprogress.setText(strfmt("Percent: %1"+'%', 5)); 7 simpleprogress.update(true); 8 //....do something... 9 simpleProgress.incCount(1); 10 simpleprogress.setText(strfmt("Percent: %1"+'%', 46)); 11 simpleprogress.update(true); 12 // do something...