Platforms to show: All Mac Windows Linux Cross-Platform

Back to SegmentedControl class.

SegmentedControl.NSSegmentedControlMBS as NSSegmentedControlMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 12.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a NSSegmentedControlMBS object for the given control.
Example
SegmentedControl1.NSSegmentedControlMBS.selectedSegment = 0

This way you can manipulate Cocoa controls directly.

Some examples using this method:

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


The biggest plugin in space...