Fires when the progress of a download operation is updated on the object.
Private Sub object_ProgressChange( _ ByVal nProgress As Long, _ ByVal nProgressMax As Long)
- Object expression that resolves to the objects in the Applies To list.
- A Long that specifies the amount of total progress to show, or
-1when progress is complete.
- A Long that specifies the maximum progress value.
No return value.
The container can use the information provided by this event to display the number of bytes downloaded or to update a progress indicator.
To calculate the percent of progress to show in a progress indicator, multiply the value of nProgress by 100, and divide by the value of nProgressMax; unless nProgress is
-1, in which case the container indicates that the operation is finished or hides the progress indicator.