# onprogress property

Gets or sets the method to handle the onprogress event.

## Syntax

```HRESULT value = object.put_onprogress(VARIANT v);HRESULT value = object.get_onprogress(VARIANT p);
```

## Property values

Type: VARIANT

the event handler.

## Remarks

The onprogress event occurs when the browser starts receiving data from the server.

When the onprogress event occurs partial data can be retrieved using IHTMLXDomainRequest::responseText .

The onprogress event may occur 0, 1 or many times in the time interval between the IHTMLXDomainRequest::send method call and the onload event occuring.