URL keyword

Applies to

Event handlers of the type Goto URL

Component property: Event handler response type

Description

Specifies the URL (Uniform Resource Locator) of an object, such as a web page, on the Internet or an intranet.

Syntax

URL( url )

Where url is an expression that evaluates to a string representing a URL.

Remarks

In typical use, the Goto URL event handler opens a web page specified by url in a browser. If the current form is running in Microsoft Internet Explorer, the Goto URL event handler launches another instance of the browser and navigates to the URL. Otherwise, the event handler opens the system default browser and navigates to the URL.

Depending on the URL type, Goto URL can initiate a file transfer, or it can open an email program or a news reader.

In the web client, users might need to enable pop-ups in their browsers in order to use this feature.

Example

This example opens a Web page:

URL(http://www.acme123.com/)

The next example opens the system default email program with a new message addressed to dalgri@acme123.com:

URL(mailto:dalgri@acme123.com)