ReadyState Property (ALog)

Returns the ready state of the control.

Syntax

[ 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.

Where

enumALogReadyState:

 

Name

Value

Description

alogReadyStateUninitialized

0 *

Un-initialized

alogReadyStateLoading

1

Loading

alogReadyStateLoaded

2

Loaded

alogReadyStateInteractive

3

Interactive

alogReadyStateComplete

4

Complete (ready)

Comments

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.

Example

The following statement wait until the log control completed loading a file:

log.LocationURL="c:\\a.txt"

while log.ReadyState<>alogReadyStateComplete

    DoEvents()

endwhile

Applies to

ALog

See Also

LocationURL, Navigate, Save