ContentsIndexPreviousNext

Other Properties

Here is a table of the properties with their corresponding ACUCOBOL-GT Web browser control properties and descriptions:

Property
ACUCOBOL-GT Web browser control property
Description
Busy
BUSY
Indicates whether a download or navigation is still in progress.

LocationName
TITLE
Name of the resource that the Web browser control is currently displaying.

LocationURL
VALUE
URL of the resource that the Web browser control is currently displaying.

Type
TYPE
Type of the current contained document object.

BUSY, LOCATION-NAME, and TYPE are read-only properties. Setting their values has no effect. As with all ACUCOBOL-GT control properties, you may use the INQUIRE verb to obtain a Web browser control's properties. For example, to check whether a Web browser control has completed executing the last invoked method:

INQUIRE BROWSER-1 BUSY IN BROWSER-1-BUSY.
 IF BROWSER-1-BUSY = 1
  ...
 END-IF

To get the URL that the browser is currently displaying:

INQUIRE BROWSER-1 VALUE IN URL-1.

or if you have defined the Web browser control with value URL-1 in a screen section item, the LocationURL will automatically be moved to URL-1 when an event or exception occurs or the ACCEPT terminates.