First take a progress bar on the panel and then a Timer. Name them. In timer properties set the time interval in ms (120 ms).
On the timer set the code:
If pb.value<100 then
pb.value=pb.value+1
else
timer1.enabled=false
//something u want to do when it reaches the 100
end if
|