Hello,
haven't used Director in a while (3 years), been in the PHP, PERL world.
Now am building an app where there's an editable one-line text field
where, when the user hits the enter/return key, the attached behavior
calls the function DoIt. I took the code right from the Demystified book,
but when I use on keyDown to check, I can't edit the field, and on keyUp
allows the RETURN to be "typed". Can someone less rusty refresh my
memory?
Many thanks,
Mike
Behavior follows:
on keyDown
--put the key
if the key = RETURN then
DoIt
end if
end
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]