Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

ProgressChange event

Fires when the progress of a download operation is updated on the object.

Syntax

HTML Attribute <element ProgressChange = "handler(event)">
attachEvent Method object.attachEvent("ProgressChange", handler)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

nProgress [in]

Type: Long

A Long that specifies the amount of total progress to show, or -1 when progress is complete.

nProgressMax [in]

Type: Long

A Long that specifies the maximum progress value.

Remarks

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 Progress by 100, and divide by the value of ProgressMax; unless Progress is -1, in which case the container indicates that the operation is finished or hides the progress indicator.

See also

InternetExplorer
WebBrowser
Reference
DownloadBegin
DownloadComplete
Navigate

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.