Keywords or Tags in an Editfield / Textarea

+1. Looks impressive. Can’t wait to see it in action.

I’ve cleaned up the class a bit and put it up for sale as an encrypted class or unencrypted source on our site:
http://oranged.net/xojo/tokenfield/

It’s in active development and will have some more features/updates coming soon since it will be used in the upcoming version of Studiometry, but it’s very useable now.

There are precompiled test apps for Mac, Windows, and Linux that you can download to try it out beforehand.

will it be available as unencrypted source one day ?

I’ve added an unencrypted source option to the page:
http://oranged.net/xojo/tokenfield/

I tried the OS X demo. Very nice, but a few issues here on OS X 10.11.6:

I type tags into the big field
I show the floating palette
I return to the big field
now it seems I can’t get back into the floating palette. I can select tags in the floating palette but the floating palette does not get the focus, and the cursor remains in the big field.

It also seems as if you can’t edit tags, so if you entered something wrongly you have to delete the tag and make a new one

You can select more than one token in the field by holding the shift key down and moving the cursor, but you can’t select using SHIFT and mouse click, or any other of the standard key combinations

different colours would be nice

Thanks Markus. So the field itself doesn’t manage any of the tags or store them. It gives you the means to manage them yourself. You can simply add available tags to the field, and receive events when the user adds new tags. You can allow the addition of new tags or only allow matched tags.

Regarding the floating palette, that’s just an example window with the class in it. It’s not related to the class itself so it might just be a problem with the sample app.

Double clicking to select text blocks, shift clicking individual items, and more “native” behaviors are being added.

[quote=286062:@Tom Iwaniec]I’ve added an unencrypted source option to the page:
http://oranged.net/xojo/tokenfield/[/quote]

just bought it. thanks!

Thank you, Scott!

A bit late to the party but still:

Looks really good!

Any planned support for drag and drop of tokens in the field or maybe between fields?

Popupmenu support?

Just downloaded the demo again (which is from Sept 2016). Anyone using it knows if the following has been added or is possible:

• You can select multiple entries by dragging the mouse but not with the shift key or command key held down
• drag and drop from TokenField to TokenField

TIA