Platforms to show: All Mac Windows Linux Cross-Platform
OSAScriptControlMBS control
See also desktop control: DesktopOSAScriptControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | Apple Script | MBS MacExtras Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This control embeds a special OSAScriptView subclass.
Designed for Xojo 2013r1 and newer. May work on Xojo 2012, but not perfectly.
Please use view property to access the underlaying object and set properties.
- 27 events
- event BoundsChanged
- event Close
- event Closing
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event Open
- event Opening
- event ScaleFactorChanged(NewFactor as Double)
- event shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- event textDidBeginEditing
- event textDidChange
- event textDidEndEditing
- event textShouldBeginEditing as boolean
- event textShouldEndEditing as boolean
- event textViewDidChangeSelection
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- 3 properties
- property AcceptTabs as Boolean
- property Scrollview as Variant
- property View as OSAScriptViewMBS
Some examples using this control:
Blog Entries
The items on this page are in the following plugins: MBS MacExtras Plugin.