hello 
you can use the script 
on keydown
if the key=return then
stop event
end if
end
--- Martin Bedard <[EMAIL PROTECTED]> wrote:
> Hi list,
> 
> I'am working on new projet and i want to block the
> ENTER key on a text
> field entry ? (pass word for user)
> 
> Must i attach the script directly on �the field � or
> the better place is
> on the �sprite script� ?
> 
> I have try those script but the ENTER key is agin
> active ?
> 
> 
> on keyDown
> 
> if the key = ENTER then
>     pass
> else
>     pass
> end if
> 
> end keyDown
> 
> 
> 
> on keyDown
> 
> if the key = ENTER then
>     nothing
> end if
> 
> end keyDown
> 
> 
> Tank's
> 
> Martin
> 
> 
> [To remove yourself from this list, or to change to
> digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post
> messages to the list,
> email [EMAIL PROTECTED]  (Problems, email
> [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming
> Lingo.  Thanks!]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to