NSTokenFieldMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem