Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTokenFieldMBS class.

NSTokenFieldMBS.completionDelay as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacControls Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The completion delay.

(Read and Write computed property)

NSTokenFieldMBS.Constructor

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

On success the handle property is not zero.

See also:

NSTokenFieldMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacControls Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an object based on the given NSControl handle.
Example
dim t as new NSTokenFieldMBS(0, 0, 100, 100)
dim v as new NSTokenFieldMBS(t.handle)

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

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

See also:

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

On success the handle property is not zero.

See also:

NSTokenFieldMBS.objects as Variant()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacControls Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Queries list of represented objects.

Some examples using this method:

NSTokenFieldMBS.setObjects(objects() as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacControls Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets current objects.

Some examples using this method:

NSTokenFieldMBS.tokenizingCharacterSet as NSCharacterSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacControls Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The tokenizing character set.

(Read and Write computed property)

NSTokenFieldMBS.tokenStyle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacControls Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The token style.

(Read and Write computed property)

Some examples using this property:

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


The biggest plugin in space...