Returns the ready state of the control.
[ enReadyState = ] Object.ReadyState
The ReadyState property syntax has the following parts:
Name |
Type |
Description |
Object |
ALog |
ALog control |
enReadyState |
enumALogReadyState |
An integer specifying the ready state of the control. |
Name |
Value |
Description |
alogReadyStateUninitialized |
0 * |
Un-initialized |
alogReadyStateLoading |
1 |
Loading |
alogReadyStateLoaded |
2 |
Loaded |
alogReadyStateInteractive |
3 |
Interactive |
alogReadyStateComplete |
4 |
Complete (ready) |
This property is read-only at run time.
For more information on the ALog control, see the Microsoft WebBrowser control documentation in the Microsoft web site.
The following statement wait until the log control completed loading a file:
log.LocationURL="c:\\a.txt"
while log.ReadyState<>alogReadyStateComplete
DoEvents()
endwhile