


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.
|
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.
EventsThe Web-Browser control generates the following events:
MSG-WB-BEFORE-NAVIGATE
MSG-WB-DOWNLOAD-BEGIN
MSG-WB-DOWNLOAD-COMPLETE
MSG-WB-NAVIGATE-COMPLETE
MSG-WB-PROGRESS-CHANGE
MSG-WB-STATUS-TEXT-CHANGE
MSG-WB-TITLE-CHANGE