显示进度条

static void jindutiao_ZF(Args _args)
{
RunBaseProgress progress;
integer i,j;
;
i = 10000;
progress = new RunBaseProgress(1);
progress.setCaption('进度');
progress.setTotal(i);
progress.updateInterval(1);
while(j != i)
{
j =j+100;
progress.setCount(j);
progress.setText('进度'+ num2str(j/i*100,1,0,1,1) +'%');
pause;
}
}

posted on 2014-06-07 09:32  Kobe.Zhang  阅读(123)  评论(0编辑  收藏  举报

导航