Platforms to show: All Mac Windows Linux Cross-Platform

Back to DesktopNSTokenFieldControlMBS control.

Previous items

DesktopNSTokenFieldControlMBS.tokenFieldTextShouldEndEditing(fieldEditor as NSTextMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
The event called to decide whether ending text editing should be allowed.

Return true to allow text editing.

DesktopNSTokenFieldControlMBS.writeRepresentedObjects(objects() as Variant, pboard as NSPasteboardMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No
Sent so the delegate can write represented objects to the pasteboard corresponding to a given array of display strings.

objects: An array of represented objects associated with the token field.
pboard: The pasteboard to which to write the represented objects.

Return true if you writes the represented objects to the pasteboard, false otherwise. If false, the token field writes the display strings to the NSStringPboardType pasteboard.

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...