HyperLinkToURL

Description

Opens the default Web browser, displaying the specified URL.

Applies to

Inet objects

Syntax

servicereference.HyperlinkToURL ( url )

Returns

Integer. Returns 1 if the function succeeds and -1 if an error occurs.

Usage

Call this function to display a URL from a PocketBuilder application.

Examples

Example 1

This example calls the HyperlinkToURL function. Iinet_base is an instance variable of type inet:

GetContextService("Internet", iinet_base)

iinet_base.HyperlinkToURL(sle_url.text)

See also