Platforms to show: All Mac Windows Linux Cross-Platform
DesktopNSSwitchControlMBS control
See also classic control: NSSwitchControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | Cocoa Controls | MBS MacControls Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available on macOS 10.15 or newer.
- 16 events
- event Action
- event BoundsChanged
- event Closing
- event ConstructContextualMenu(base as DesktopMenuItem, x as Integer, y as Integer) As Boolean
- event ContextualMenuItemSelected(selectedItem As DesktopMenuItem) As Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event FocusLost
- event FocusReceived
- event FrameChanged
- 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 Opening
- event ScaleFactorChanged(NewFactor as double)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- 2 properties
- property State as Boolean
- property View as NSSwitchMBS
Blog Entries
- News from the MBS Xojo Plugins Version 22.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 22.1
- MBS Xojo Plugins, version 22.1pr3
- Adding NSSwitch to Xojo
- MBS Xojo Plugins, version 22.1pr2
Xojo Developer Magazine
Release notes
- Version 22.1
- Added NSSwitchControlMBS and DesktopNSSwitchControlMBS controls.
- Added State property for NSSwitchControlMBS control.
The items on this page are in the following plugins: MBS MacControls Plugin.
DesktopNSSplitViewControlMBS - DesktopNSTableControlMBS