Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSSegmentedControlMBS.cellTrackingMode as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 15.2 Yes No No No No
Function: The tracking mode used for the segments of the receiver.
Notes:
Possible values for trackingMode are described in NSSegmentSwitchTracking. The default value is NSSegmentSwitchTrackingSelectOne.

This property was named only trackingMode in 15.1 and older plugins.
(Read and Write property)

Feedback, Comments & Corrections

NSSegmentedControlMBS.doubleValueForSelectedSegment as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 15.2 Yes No No No No
Function: Query the double value for selected segment.
Notes:
This message is valid only for trackingMode = NSSegmentSwitchTrackingMomentaryAccelerator and provides the double value for the selected segment.
Available on Mac OS X 10.10.3.
(Read only property)

Feedback, Comments & Corrections

NSSegmentedControlMBS.segmentCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 12.1 Yes No No No No
Function: Returns the number of segments in the receiver.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSSegmentedControlMBS.segmentStyle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 12.1 Yes No No No No
Function: The visual style used to display the receiver.
Notes:
See style constants.
Available in Mac OS X v10.5 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSSegmentedControlMBS.selectedSegment as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 12.1 Yes No No No No
Function: The index of the selected segment of the receiver.
Notes:
The index of the currently selected segment or -1 if no segment is selected. If the receiver allows multiple selections, this method returns the most recently selected segment.
(Read and Write property)

Feedback, Comments & Corrections

NSSegmentedControlMBS.springLoaded as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 15.2 Yes No No No No
Function: Sends action on deep-press or extended hover while dragging.
Notes:
Defaults to false.
(Read and Write property)

Feedback, Comments & Corrections

NSSegmentedControlMBS.trackingMode as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 15.2 Yes No No No No
Function: The type of tracking behavior the control exhibits.
Notes:
An NSSegmentSwitchTracking value specifies how the control responds when the user presses a keyboard key or clicks, force clicks (applies pressure in a pressure-sensitive system), releases pressure, and so on.

see NSSegmentSwitchTracking* constants.
Available on Mac OS X 10.10.3 and newer.
(Read and Write property)

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins