Navigation:  ThinBASIC Modules > UIAdv (Advanced User Interface module) > WebBrowser Control >

WebBrowser_ReadyState

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves a value that indicates the current state of the WebBrowser.

 

Syntax

 

n = WebBrowser_ReadyState (hWnd, ctrlID)

 

Returns

 

Number, one of the following equates:

Equate

Meaning

%WebBrowser_ReadyState_Uninitialized

Object is not initialized with data.

%WebBrowser_ReadyState_Loading

Object is loading its data.

%WebBrowser_ReadyState_Loaded

Object has finished loading its data.

%WebBrowser_ReadyState_Interactive

User can interact with the object even though it is not fully loaded.

%WebBrowser_ReadyState_Complete

Object is completely initialized.

 

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

 

Remarks

 

A WebBrowser state is initially set to uninitialized, and then to loading. When data loading is complete, the state of the link WebBrowser passes through the loaded and interactive states to reach the complete state.

 

The states through which a WebBrowser passes are determined by that WebBrowser; a WebBrowser can skip certain states (for example, interactive) if the state does not apply to that WebBrowser.

 

Restrictions

 

See also

 

Examples