Glen Bojsza<[email protected]> wrote:

Another question which may not be able to be answered is... can you limit
the number of characters in the field based on the new size the user has
made?

What I usually do is trap keydown and check the formattedheight while the user is typing. If the text is too long then either truncate it or warn the user some other way. If the field has just been resized, then check the formattedheight after the resizing and take action if the contents are too long.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to