NavigationProgressIndex
PowerScript event
Description
Occurs when the overall page loading progress changes.
Event ID
|
Event ID |
Objects |
|---|---|
|
None |
WebBrowser controls |
Arguments
|
Argument |
Description |
|---|---|
|
progressIndex |
The page loading progress. |
Return Values
None
Usage
The NavigationProgressIndex event will be triggered if the page’s
URL has changed.
As the Navigate function is
executed asynchronously, it is recommended that you use the
NavigationProgressIndex event to determine whether the Navigate function
is completed before executing the next script. You can check the value of
the NavigationProgressIndex event, and if the event receives the value of
100, it means the page is 100% loaded.
You can also use DOMContentLoaded or NavigationCompleted to replace
this event.
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest