Is it possible to limit text input in a field based upon its height?
Ken Ray
kray at sonsothunder.com
Fri Jul 20 13:07:56 EDT 2007
On Tue, 10 Jul 2007 15:55:00 -0700 (PDT), haribo wrote:
> works fine, but
> is there any way to set it to the spacebar, if the user dont click the
> enterkey it dont work.
You can't "set" the autotab to a spacebar, but you could simulate it
with code in the field:
on keyDown pKey
if pKey is space then type tab
end keyDown
By not passing keyDown, the space never gets entered in the initial
field, but instead sends a tab instead, which should take you to the
next field.
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list