View Single Post
  #18  
Old 05-05-2010, 18:50
gorgo2 gorgo2 is offline
Senior Member
 
Join Date: Feb 2010
Posts: 107
Default

Quote:
Originally Posted by shelbym View Post
If you know there are going to be exactly 500 shapes, you could use.
Code:
If (n Mod 5) = 0 Then
     stat.UpdateProgress
     If stat.Aborted Then Exit For
End If
This way for every 5th shape it would advance the progressbar 1 ending at 100 or 100%

-Shelby
So I would need to make code that counts each object and then builds the progress bar accordingly if I want it to show a more precise status for any number of objects. Is that correct? I wonder how I can do this....
Reply With Quote