Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSStepperMBS class.

NSStepperMBS.autorepeat as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value indicating how the receiver responds to mouse events.

True if the first mouse down does one increment (or decrement) and, after a delay of 0.5 seconds, increments (or decrements) at a rate of ten times per second. False if the receiver does one increment (decrement) on a mouse up. The default is true.
(Read and Write computed property)

NSStepperMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new stepper with size 100/100 and position 0/0
Example
dim t as new NSStepperMBS

On success the handle property is not zero.

See also:

NSStepperMBS.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 NSStepper handle.
Example
dim t as new NSStepperMBS(0, 0, 100, 100)
dim v as new NSStepperMBS(t.handle)

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

The handle is casted to a NSStepper and the plugin retains this handle.

See also:

NSStepperMBS.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 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new stepper with the given size and position.
Example
dim x as new NSStepperMBS(0, 0, 100, 100)

On success the handle property is not zero.

See also:

NSStepperMBS.increment as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The amount by which the receiver will change per increment (decrement).

(Read and Write computed property)

NSStepperMBS.maxValue as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The maximum value.

(Read and Write computed property)

NSStepperMBS.minValue as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The minimum value.

(Read and Write computed property)

NSStepperMBS.valueWraps as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver wraps around the minimum and maximum values.

If true, then when incrementing or decrementing, the value wraps around to the minimum or maximum. If valueWraps is false, the value stays pinned at the minimum or maximum.

For example for an angle where 359 increases to 0.
(Read and Write computed property)

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


The biggest plugin in space...