Platforms to show: All Mac Windows Linux Cross-Platform
WebViewControlMBS.Close
Function:
The control is about to close.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
WebViewControlMBS.ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
Function:
This event is called when it is appropriate to display a contextual menu for the control.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
WebViewControlMBS.ContextualMenuAction(hitItem as MenuItem) as Boolean
Function:
Called when a menuitem is choosen.
Notes: This allows the control to react on its relevant menu items. Please return true if you handled it or false to give others a chance.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Notes: This allows the control to react on its relevant menu items. Please return true if you handled it or false to give others a chance.
WebViewControlMBS.EnableMenuItems
Function:
The event where you can enable menu items.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
WebViewControlMBS.MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
Function:
The mouse button was pressed inside the control’s region at the location passed in to x, y.
Notes:
The coordinates x and y are local to the control, i.e. they represent the position of the mouse click relative to the upper-left corner or the Control.
Return True if you are going to handle the MouseDown. In such a case:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Notes:
The coordinates x and y are local to the control, i.e. they represent the position of the mouse click relative to the upper-left corner or the Control.
Return True if you are going to handle the MouseDown. In such a case:
- The Action event, if any, will not execute and the state of the object will not change.
- You will receive the MouseDrag and MouseUp events.
WebViewControlMBS.MouseDrag(x as Integer, y as Integer)
Function:
This event fires continuously after the mouse button was pressed inside the Control.
Notes:
Mouse location is local to the control passed in to x, y.
As this event is fired continuously (hundreds of time per second), it is your responsibility to determine if the mouse has really moved.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Notes:
Mouse location is local to the control passed in to x, y.
As this event is fired continuously (hundreds of time per second), it is your responsibility to determine if the mouse has really moved.
WebViewControlMBS.MouseUp(x as Integer, y as Integer)
Function:
The mouse button was released.
Notes: Use the x and y parameters to determine if the mouse button was released within the control's boundaries.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Notes: Use the x and y parameters to determine if the mouse button was released within the control's boundaries.
WebViewControlMBS.Open
Function:
The control is about to was created and you can initialize it.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
WebViewControlMBS.ScaleFactorChanged(NewFactor as Double)
Function:
The backing store scale factor has changed.
Notes: Please invalidate any cached bitmaps or other relevant state.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacFrameworks Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Notes: Please invalidate any cached bitmaps or other relevant state.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
Feedback: Report problem or ask question.