How to limit field to one line?

Richard Gaskin ambassador at fourthworld.com
Wed Nov 2 12:17:15 EST 2005


Garrett R. Hylltun wrote:

 > Can anyone explain to me how to limit a field to only one line,
 > and to intercept the return key from within that field?

The text engine in Rev will accurately display lines up to 65,535 
characters.  Beyond that it seems the data is maintained, but display 
yields unpredictable results.

There is a similar limitation with the sort command:  on blocks of text 
in which all lines have 65,535 characters or fewer it works great, but 
beyond that it can yield odd results.

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list