Hi Keisuke,

Tested with v16R4. Unfortunately this does not work nicely.
The entry is indeed limited to the number of chars given. But…
1. when continuously typing, the cursor wraps around from the last char to the 
first and the already entered text is overwritten
2. you cannot select more than 1 character

A new property for a string or text object limiting the number of entered 
characters (like on an alpha field) would indeed be nice to have.
Just like numeric variable objects where you can enter a minimum and maximum 
value.

@Piotr: can you report this in the 4D forum as feature request? So I can vote.

Kind regards,
Koen

> Op 11 sep. 2017, om 11:25 heeft Keisuke Miyako via 4D_Tech 
> <[email protected]> het volgende geschreven:
> 
> OBJECT SET FILTER(*;"__object_name_here";"! &@"+("#"*$maxlen))



--------------------
Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to