OnProgressChange Event (ALog)

Notifies an application that the progress of a download operation has been updated.

Syntax

Object.OnProgressChange ( lProgress, lProgressMax )

The OnProgressChange event syntax has the following parts:

 

Name

Type

Description

Object

ALog

ALog control

lProgress

Val Long

Amount of total progress to show, or -1 when progress is complete.

lProgressMax

Val Long

Maximum progress value.

Comments

The container can use the information provided by this event to display the number of bytes downloaded so far or to update a progress indicator.

To calculate the percentage 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 can indicate that the operation is finished or hide the progress indicator).

For more information on the ALog control, see the Microsoft WebBrowser control documentation in the Microsoft web site.

Applies to

ALog

See Also

OnPropertyChange, LocationURL, Navigate