Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

WebBrowserGet – PB Docs 2022 – PowerBuilder Library

WebBrowserGet – PB Docs 2022

WebBrowserGet

PowerScript function

Description

Gets the settings of the WebBrowser control. The global settings are
also obtained.

Syntax

Argument

Description

n

The name of the setting. See WebBrowserSet for the list
of available settings. The following values are
read-only.

  • SDKVersion — Obtain the current WebView2 SDK version.
    The SDK build number is the third part of the SDK version
    number, for example, if the current WebView2 SDK Version is
    “107.0.1418.22”, the SDK build number is 1418.

  • RuntimeVersion — Obtain the current WebView2 Runtime
    version. The runtime build number is the third part of the
    runtime version number, for example, if the current WebView2
    Runtime version is 105.0.1314.27, the runtime build number
    is 1314.

    Note

    Every time PowerBuilder is upgraded, the SDK version
    corresponding to WebBrowser will be updated. The runtime
    build number must be greater than or equal to the SDK
    build number, otherwise, compatibility issues may
    appear.

v

The value of the setting that is obtained.

Return value

Integer.

Returns 1 if the function succeeds and a negative value if an error occurs.
If any argument’s value is null, the method returns null.

Examples

The following example gets the values that are set for the Runtime
version for the WebBrowser control:

See also

WebBrowserSet


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x