Platforms to show: All Mac Windows Linux Cross-Platform
WebFrameLoadDelegateMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | HTMLViewer Mac | MBS MacControls Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
Notes:
This classs is not available in Xojo 2020r1 or newer.
A WebView's WebFrameLoadDelegate tracks the loading progress of its frames. When a data source of a frame starts to load, the data source is considered provisional". Once at least one byte is received, the data source is considered "committed". This is done so the contents of the frame will not be lost if the new data source fails to successfully load.
Please use one delegate class per HTMLViewer (or WebViewMBS) and make sure they live about the same time. Our class keeps a reference on the WebView, so we can remove our delegate when the delegate is destroyed.
- 15 events
- event Close
- event didCancelClientRedirectForFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event didChangeLocationWithinPageForFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event didCommitLoadForFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event didFailLoadWithError(WebView as WebViewMBS, ErrorString as string, frame as WebFrameMBS) as boolean
- event didFailProvisionalLoadWithError(WebView as WebViewMBS, ErrorString as string, frame as WebFrameMBS) as boolean
- event didFinishLoadForFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event didReceiveIcon(WebView as WebViewMBS, image as NSImageMBS, frame as WebFrameMBS) as boolean
- event didReceiveServerRedirectForProvisionalLoadForFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event didReceiveTitle(WebView as WebViewMBS, title as string, frame as WebFrameMBS) as boolean
- event didStartProvisionalLoadForFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event Open
- event willCloseFrame(WebView as WebViewMBS, frame as WebFrameMBS) as boolean
- event willPerformClientRedirectToURL(WebView as WebViewMBS, URL as String, delay as Double, fireDate as Date, frame as WebFrameMBS) as boolean
- event windowScriptObjectAvailable(WebView as WebViewMBS, windowScriptObject as WebScriptObjectMBS) as boolean
This class has no sub classes.
Some useful global functions for this class:
- InstallWebFrameLoadDelegate(extends w as WebViewMBS, theDelegate as WebFrameLoadDelegateMBS)
Blog Entries
The items on this page are in the following plugins: MBS MacControls Plugin.
WebDownloadDelegateMBS - WebFrameMBS
Feedback: Report problem or ask question.
