Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6e

Application v 6.3a

  

 

Chapter Twenty-oneWebView Interface (continued)

WebViewOpenTab Function

Overview

The WebViewOpenTab function creates a new WebView window within the document container of the application and optionally navigates to a specified URL.

Syntax/Parameters

Syntax

handle = WebViewOpenTab ( [string url | wstring url] );

Parameters

url

An optional string or wstring specifying a URL to open.

Return Value

A handle for a WebView Object or NULL_HANDLE on failure. Use the GetLastError function to retrieve a format error code.

Remarks

The tab opened will contain a navigation bar for the user to enter their own URLs. Because the WebView is opened as a tab within the application it will take focus over the current view, if any. Use the WebViewOpenWindow to create a pop-up version of the WebView.

If the URL is not specified the WebView will default to the “about:blank” page.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Page revised 2025-10-20