Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

WKWebViewControlMBS control

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
control HTMLViewer Mac MBS Mac64bit Plugin 16.4 Yes No No No No
Function: A WKWebView object displays interactive web content, such as for an in-app browser.
Example:
// print a WKWebViewControlMBS to PDF file:

dim browser as WKWebViewControlMBS // your control showing website
Dim pi As NSPrintInfoMBS = NSPrintInfoMBS.sharedPrintInfo

Dim f As FolderItem = SpecialFolder.Desktop.Child("test.pdf")
pi.SetSaveDestination f

Dim po As NSPrintOperationMBS = browser.printOperation(pi)

po.showsPrintPanel = False
po.showsProgressPanel = False

If po.runOperation Then
f.launch
End If
Notes:
This is a control to use WebKit in 32-bit and WebKit 2 in 64-bit.
Most of the events provided by Xojo for the control will not work.
But we can add features over time as needed.

Feedback, Comments & Corrections

Some examples which use this control:

Blog Entries


The items on this page are in the following plugins: MBS Mac64bit Plugin.


WebViewControlMBS

The biggest plugin in space...




Links
MBS Xojo PDF Plugins