显示进度条SysOperationProgress
static client void ShowProgressBar()
{
#avifiles
SysOperationProgress simpleProgress;
int i;
;
simpleProgress = SysOperationProgress::newGeneral(#aviUpdate, 'Updating...', 100);
for(i=1;i<=100;i++)
{
simpleProgress.incCount();
simpleprogress.setText(strfmt("Task: %1/%2", i,100));
sleep(50);
}
}