haabetter.blogg.se

Xojo
Xojo










Refer to the Resources:System_Requirements#64-bit Configuration for Running 32-bit_Apps section for commands that you can use to install libwebkitgtk v3 on various Linux distributions. If it is available, the Linux HTMLViewer uses WebKit (libwebkitgtk version 3). The Handle property returns a pointer to the cef_browser_t struct. To make plugins available to the DesktopHTMLViewer on Windows, create a folder called WebKitPlugins within your Libs folder in your application folder and place the plugins you need there. You can work around this by providing a plist with your app to indicate what non-secure URLs you are using. Starting with MacOS 10.11 and Xojo 2018r4, your apps have to use secure "https" connections or you will get this error: "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection". The executeInXojoSync() method is synchronous and thus should be called as a function as it will receive the value returned by the JavaScriptRequest event. The executeInXojo() method is asynchronous and thus will not receive a value returned by the JavaScriptRequest event. For all subsequent parameters, only strings and numbers are supported.

xojo

Both can be passed any number of parameters though the first parameter must be a string. On macOS, the HTMLViewer supports getting and setting a custom user agent string and increasing or decreasing the font size.Ī JavaScript executed via ExecuteJavaScript or ExecuteJavaScriptSync can call executeInXojo() or executeInXojoSync() to pass data back to the HTMLViewer via the JavaScriptRequest event.

xojo

Renders HTML and provides basic navigation features.












Xojo