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
Creates a new progress indicator with size 100/100 and position 0/0
Example
dim t as new NSProgressIndicatorMBS

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
Creates an object based on the given NSProgressIndicator handle.
Example
dim t as new NSProgressIndicatorMBS(0, 0, 100, 100)
dim v as new NSProgressIndicatorMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)

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
Creates a new progress indicator with the given size and position.
Example
dim x as new NSProgressIndicatorMBS(0, 0, 100, 100)

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
The size of the receiver.

(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
The receiver's control tint.

(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
A value that indicates the current extent of the progress bar of a determinate progress indicator.

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
Advances the progress bar of a determinate progress indicator by the specified amount.

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
A Boolean value indicating whether the receiver's frame has a bezel.

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
A Boolean value indicating whether the receiver shows itself even when it's not animating.

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
Whether the receiver is indeterminate.

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 for the receiver.

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
The minimum value for the receiver.

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
This action method resizes the receiver to an appropriate size depending on what style returns.

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
Starts the animation of an indeterminate progress indicator.

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
Stops the animation of an indeterminate progress indicator.

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
The style of the progress indicator (bar or spinning).

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
A hint as to whether the receiver should implement animation of the progress indicator in a separate thread.

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.


The biggest plugin in space...