BROWSECMD

Top  Previous  Next

Syntax

INT = BROWSECMD(win as WINDOW,cmd as INT,...)

Description

Controls the embedded browser in a window.

Parameters

win - Window containing the browser control

cmd - Command to send to browser

... - Variable list of additional parameters based on the command

Return value

Dependent on the command

Remarks

Currently available commands and their parameters:

@NAVIGATE, strURL

@GOBACK

@GOFORWARD

@GOHOME

@BROWSESTOP

@REFRESH

@BROWSESEARCH

@BROWSELOAD, strHTML

@BACKENABLED : Returns TRUE or FALSE

@FORWARDENABLED: Returns TRUE or FALSE

@GETTITLE, pStrTitle {,cchTitle}

@BROWSEPRINT

@GETNAVURL, pStrURL {,cchUrl}

@GETPOSTDATA, pStrData {,cchData}

@GETHEADERS, pStrHeaders {,cchHeaders}

@CANCELNAV

@GETSTATUSTEXT, pStrStatus {,cchStatus}

 

See Also: ATTACHBROWSER

Example usage

BROWSECMD(wnd,@GETSTATUSTEXT,caption,255)