LoadPage

 

Description

 

Initiates a page load using the HTTP GET method.

 

Arguments

 

Name

Type

I/O

Description

URL

String

In

The URL of the page to be loaded.

Hidden

Short Integer

In

When set to zero, the specified page is loaded and displayed normally. When non-zero, the page is loaded hidden from the user.

 

 

 

Return Value

 

Short Integer: zero if load was successfully initiated, else non-zero.

 

 

Remarks

 

If the requested page is already in cache, it is retrieved from there rather than being loaded.

 

When the Hidden flag is True the control loads the page without providing any indication to the user that this page load is taking place. The activity and status indicators are unaffected, and the hidden page does not show up in the history list. The container, however, receives all the usual status change events for the page and can apply all page-related methods to the hidden page.

 

Use the GetHiddenFlag method to find out if a page is hidden and the SetHiddenFlag method to reveal a hidden page.

 

Invoking this method with the Hidden argument set to False is equivalent to assigning the value of the URL argument to PageURL.

 

This method is archaic and retained for compatibility with earlier releases. The Navigate method provides a superset of LoadPage capabilities.