FileDownload event
Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.
Syntax
| HTML Attribute | <element FileDownload = "handler(event)"> |
|---|---|
| attachEvent Method | object.attachEvent("FileDownload", handler) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- ActiveDocument [in]
-
Type: VARIANT_BOOL
A VT_BOOL that specifies whether the file is an Active Document.
- Cancel [in, out, ref]
-
Type: VARIANT_BOOL
A VT_BOOL that specifies whether to continue the download process and display the download dialog box.
Remarks
This event enables the user to take an alternative action during a file download.
Show: