Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSLevelIndicatorMBS class.
NSLevelIndicatorMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
On success the handle property is not zero.
See also:
NSLevelIndicatorMBS.Constructor(Handle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The handle is casted to a NSLevelIndicator and the plugin retains this handle.
See also:
NSLevelIndicatorMBS.Constructor(left as Double, top as Double, width as Double, height as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
On success the handle property is not zero.
See also:
NSLevelIndicatorMBS.criticalValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
Some examples using this property:
NSLevelIndicatorMBS.levelIndicatorStyle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
Some examples using this property:
NSLevelIndicatorMBS.maxValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
NSLevelIndicatorMBS.minValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
NSLevelIndicatorMBS.numberOfMajorTickMarks as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The count must be less than or equal to the number of tick marks returned by numberOfTickMarks. For example, if the number of tick marks is 11 and you specify 3 major tick marks, the resulting level indicator will display 3 major tickmarks alternating with 8 minor tick marks.
(Read and Write computed property)
Some examples using this property:
NSLevelIndicatorMBS.numberOfTickMarks as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
By default, this value is 0, and no tick marks appear. The number of tick marks assigned to a slider, along with the slider's minimum and maximum values, determines the values associated with the tick marks.
(Read and Write computed property)
NSLevelIndicatorMBS.rectOfTickMarkAtIndex(index as Integer) as NSRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If no tick mark is associated with index, the method raises a NSExceptionMBS.
NSLevelIndicatorMBS.tickMarkPosition as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This method has no effect if no tick marks have been assigned (that is, numberOfTickMarks returns 0).
(Read and Write computed property)
NSLevelIndicatorMBS.tickMarkValueAtIndex(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
NSLevelIndicatorMBS.warningValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa | MBS MacControls Plugin | 12.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
Some examples using this property:
The items on this page are in the following plugins: MBS MacControls Plugin.