Not passing a return key or enter key.
Glen Bojsza
gbojsza at gmail.com
Sat Aug 13 09:21:10 EDT 2005
Jonathan,
Thanks for the feedback it appears that I need to understand the
difference between keyDown and RawKeyDown.
I'm assuming that 65293 refers to a key?
On 8/12/05, Lynch, Jonathan <bnz2 at cdc.gov> wrote:
> On RawKeyDown pKey
> If the number of lines in me < 3 or pKey <> 65293 then pass
> rawkeydown
> End rawkeydown
>
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Glen
> Bojsza
> Sent: Friday, August 12, 2005 5:02 PM
> To: use-revolution at lists.runrev.com
> Subject: Not passing a return key or enter key.
>
> 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,
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list