Is it possible to limit text input in a field based upon its height?
Klaus Major
klaus at major-k.de
Fri Jul 20 13:43:57 EDT 2007
Hi Ralle,
> 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.
But the price for this "feature" will be an "only one word" text
field :-)
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list