Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

WebUIDelegateMBS.willPerformDragSourceAction(WebDragDestinationAction as Integer, X as Double, Y as Double, pasteboard as NSPasteboardMBS)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event HTMLViewer Mac MBS MacControls Plugin 16.1 ✅ Yes ❌ No ❌ No ❌ No
Function: Informs that a drag a has begun from a WebView.
Notes:
action: The drag source action
X/Y: The point where the drag started in the coordinates of the WebView
pasteboard: The drag pasteboard

This method is called after dragSourceActionMaskForPoint is called after the user has begun a drag from a WebView.
This method informs the UI delegate of the drag source action that will be performed and gives the delegate an opportunity to modify the contents of the dragging pasteboard.
WebUIDelegateMBS.WindowClose as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event HTMLViewer Mac MBS MacControls Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No
Function: Close the current window.
Notes:
Clients showing multiple views in one window may choose to close only the one corresponding to this WebView. Other clients may choose to ignore this method entirely.
If this event returns false the control is handled to the default delegate.
WebUIDelegateMBS.WindowFocus as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event HTMLViewer Mac MBS MacControls Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No
Function: Focus the current window.
Notes:
Clients showing multiple views in one window may want to also do something to focus the one corresponding to this WebView.
If this event returns false the control is handled to the default delegate.
WebUIDelegateMBS.WindowShow as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event HTMLViewer Mac MBS MacControls Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No
Function: Show the window that contains the top level view of the WebView, ordering it frontmost.
Notes:
This will only be called just after CreateWithRequest is used to create a new window.
If this event returns false the control is handled to the default delegate.
WebUIDelegateMBS.WindowUnfocus as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event HTMLViewer Mac MBS MacControls Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No
Function: Unfocus the current window.
Notes:
Clients showing multiple views in one window may want to also do something to unfocus the one corresponding to this WebView.
If this event returns false the control is handled to the default delegate.

Previous items

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

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat