CancelDownload
PowerScript function
Description
Cancels the download progress of the file.
Applies to
Syntax
|
1 |
controlname.CancelDownload ( integer ItemId ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the WebBrowser control. |
|
ItemId |
The ID of the download file, starting from 1. ItemId should be the return value of DownloadingStart or |
Return value
Integer.
Returns 1 if the function succeeds and a negative value if an error occurs.
If any argument’s value is null, the method returns null.
Examples
|
1 2 |
Integer li_rtn, li_itemid li_rtn = wb_1.CancelDownload(li_itemid) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest