SHDocVw.IWebBrowser2.ReadyState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadyState: tagREADYSTATE read Get_ReadyState;

C++

__property Winapi::Activex::TOleEnum ReadyState = {read=_scw_Get_ReadyState};

Properties

Type Visibility Source Unit Parent
property public
SHDocVw.pas
SHDocVw.hpp
SHDocVw IWebBrowser2

Description

Indicates the current state.

Read ReadyState to obtain state information. Use this information to avoid attempting to use the Web browser control when it is not ready to perform an action.

The following table lists the possible values.



Constant Value Meaning

READYSTATE_UNINITIALIZED

0

Default initialization state. The Control has not begun loading any properties.

READYSTATE_LOADING

1

The control is loading its properties.

READYSTATE_LOADED

2

The control has initialized its properties, but is not yet interactive.

READYSTATE_INTERACTIVE

3

The control is interactive, but not all of its data is available. (It is downloading a document or frame).

READYSTATE_COMPLETE

4

The control is interactive and all of its data is available. (The current document is fully downloaded).



See Also