主题:如何控制进度条暂停继续?
进度条的暂停/继续功能如何实现啊?
代码:
if this.text='停止' then
uo_1.uf_set_position ( i/100 )
// 这里如何暂停下面的循环???
else
if j<>1 then goto p1
end if
if this.text='停止' then
this.text='继续'
else
this.text='停止'
end if
p1:for i=1 to total
yield()
uo_1.uf_set_position ( i/100 )//进度条位置定位函数
next
代码:
if this.text='停止' then
uo_1.uf_set_position ( i/100 )
// 这里如何暂停下面的循环???
else
if j<>1 then goto p1
end if
if this.text='停止' then
this.text='继续'
else
this.text='停止'
end if
p1:for i=1 to total
yield()
uo_1.uf_set_position ( i/100 )//进度条位置定位函数
next