BBjThinClient::browse

Description

In BBj 11.0 and higher, this method opens the specified URL in the default browser (GUI) or the current browser (BUI).

 See below.


Syntax

Return Value

Method

void

browse(string url)

void

browse(string url, string name, string features)

Parameters

Variable

Description

url

Specifies the URL to be opened. Must include the protocol prefix (usually http:// or https://).

name

Optionally specifies a window name (BUI only; available options defined by the browser. See Window.open()).

features

Optionally specifies a comma-separated list of window features (BUI only; supported options defined by the browser. See Window.open()).

Return Value

None.

Remarks

The GUI (Java) client opens the given URL using Desktop.browse().

The BUI (JavaScript) client opens the given URL using Window.open().

Example

bbjapi().getThinClient().browse("http://www.basis.com")

See Also

BBjAPI

BBjThinClient

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.