reload Method
Reloads the specified document.
expression.reload(flag)
*expression * Required. An expression that returns one of the objects in the Applies To list.
flag Optional Boolean. False reloads the page from the browser cache (default). True reloads the page from the server.
Remarks
If the reload method is run on a page to which changes have been made, a message is displayed asking if the user wants to save changes made to the document.
Example
The following example takes an FPHTMLDocument object and reloads the document from the browser cache.
Sub ReloadDocument(objDoc as FPHTMLDocument)
objDoc.Location.reload
End Sub
Use the following example to call the preceding subroutine.
Sub CallReloadDocument()
Call ReloadDocument(ActiveDocument)
End Sub
Applies to | FPHTMLLocation Object | IHTMLLocation Object