Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSProgressIndicatorMBS class.
NSProgressIndicatorMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
On success the handle property is not zero.
See also:
NSProgressIndicatorMBS.Constructor(Handle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 10.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The handle is casted to a NSProgressIndicator and the plugin retains this handle.
See also:
NSProgressIndicatorMBS.Constructor(left as Double, top as Double, width as Double, height as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
On success the handle property is not zero.
See also:
NSProgressIndicatorMBS.controlSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
NSProgressIndicatorMBS.controlTint as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write computed property)
NSProgressIndicatorMBS.doubleValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The value representing the current extent of a determinate progress bar. For example, a determinate progress indicator goes from 0.0 to 100.0 by default. If the progress bar has advanced halfway across the view, the value returned by doubleValue would be 50.0. An indeterminate progress indicator does not use this value.
(Read and Write computed property)
NSProgressIndicatorMBS.incrementBy(delta as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The amount by which to increment the progress bar. For example, if you want to advance a progress bar from 0.0 to 100.0 in 20 steps, you would invoke incrementBy 20 times with a delta value of 5.0.
NSProgressIndicatorMBS.isBezeled as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
True if the receiver's frame has a three-dimensional bezel; otherwise, false.
(Read and Write computed property)
Some examples using this property:
NSProgressIndicatorMBS.isDisplayedWhenStopped as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
True if the progress indicator shows itself even when it's not animating. By default, this returns returns true if style is NSProgressIndicatorBarStyle and false if style isNSProgressIndicatorSpinningStyle.
(Read and Write computed property)
NSProgressIndicatorMBS.isIndeterminate as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This method only has an effect if style returns NSProgressIndicatorBarStyle. If style returns NSProgressIndicatorSpinningStyle, the indicator is always indeterminate, regardless of what you pass to this method.
(Read and Write computed property)
NSProgressIndicatorMBS.maxValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The maximum value of the progress indicator. An indeterminate progress indicator does not use this value.
(Read and Write computed property)
NSProgressIndicatorMBS.minValue as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
An indeterminate progress indicator does not use this value.
(Read and Write computed property)
NSProgressIndicatorMBS.sizeToFit
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Use this after you set style to re-size the receiver.
NSProgressIndicatorMBS.startAnimation
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Does nothing for a determinate progress indicator.
NSProgressIndicatorMBS.stopAnimation
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Does nothing for a determinate progress indicator.
NSProgressIndicatorMBS.style as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Either NSProgressIndicatorBarStyle or NSProgressIndicatorSpinningStyle.
(Read and Write computed property)
NSProgressIndicatorMBS.usesThreadedAnimation as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacControls Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Value is true to indicate that animation of the progress indicator should occur in a separate thread; otherwise, false. This value is only a hint and may be ignored.
If the application becomes multithreaded as a result of an invocation of this method, the application's performance could become noticeably slower.
(Read and Write computed property)
The items on this page are in the following plugins: MBS MacControls Plugin.