TextField

Peter Castine's icon

I'm updating a UI object that, on Max4, used a TEHandle for working with user keyboard input (the object was MacOS-only, though if we can get it cross-platform now, that would make a lot of people happy).

It seems like the TextField is the most appropriate way to go. YesNo?

There are some problems, though. Are there any messages for setting/getting the bounds of the current text selection (ie equivalents for TESetSelect and an equivalent getter)?

I see from the uitextfield example that inserting and retrieving text is handled with messages ("insertboxtext", "gettextptr") that I'm not finding documented. Are there more?

andrea agostini's icon

Hi Peter.

I had the same problem as you with the selection bounds some times ago - https://cycling74.com/forums/jtextfield-and-selection
... and as you can see, the answer was no :(

best
aa

Peter Castine's icon

Thanks, Andrea.

Unfortunately, this is a make-or-break issue for the intended usage. One might have hoped that somewhere among the undocumented messages…