Not passing a return key or enter key.
Glen Bojsza
gbojsza at gmail.com
Fri Aug 12 17:02:00 EDT 2005
Hi All,
I wish to limit the number of lines (no more than 3) in a field that a
user add input.
I have tried the following in the field's script
on returnKey
if word 2 of the selectedline > 3 then exit returnKey
end returnKey
on enterKey
if word 2 of the selectedline > 3 then exit enterKey
end enterKey
But when I hit the enter key after 3 lines it still keeps going to the
next line?
thanks,
More information about the use-livecode
mailing list