RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebBrowser2.ReadyState Property

Indicates the current state.

Pascal
property ReadyState: tagREADYSTATE;
C++
__property tagREADYSTATE ReadyState;

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 
0  
Default initialization state. The Control has not begun loading any properties.  
1  
The control is loading its properties.  
2  
The control has initialized its properties, but is not yet interactive.  
3  
The control is interactive, but not all of its data is available. (It is downloading a document or frame).  
4  
The control is interactive and all of its data is available. (The current document is fully downloaded).  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!