SHDocVw.TWebBrowser.ReadyState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadyState: TOleEnum index -525 read GetTOleEnumProp;

C++

__property Winapi::Activex::TOleEnum ReadyState = {read=GetTOleEnumProp, index=-525, nodefault};

Properties

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

Description

Indicates the state of the Web browser component.

Read ReadyState to obtain state information specific to the Web browser control. 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