How to limit field to one line?
Roger.E.Eller at sealedair.com
Roger.E.Eller at sealedair.com
Wed Nov 2 12:23:29 EST 2005
Garrett R. Hylltun wrote:
> Can anyone explain to me how to limit a field to only one line,
set the lockText of fld "x" to true
> and to intercept the return key from within that field?
-- Put this in the script of the field:
on returnInField
-- do something (or nothing)
answer "You pressed return"
end returnInField
Kind regards,
Roger Eller <roger.e.eller at sealedair.com>
More information about the use-livecode
mailing list