How to limit field to one line?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Nov 2 11:54:09 EST 2005


Hi Garret,

In the script of your field:

on returnInField
   <statements>
end returnInField

This will prevent the return key to insert a carriage return and will  
execute your statements instead :-)

Le 2 nov. 05 à 17:49, Garrett R. Hylltun a écrit :

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

Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list