Cool! That did it. Thanks Howdy!
> Hi to all. Sorry to post this question but I can't
> think of an answer at the moment. Here's the
> situation: The user is currently on a field member.
> Under what event will I put lingo to know when the
> user has entered a valid(not necessarily correct)
> character. If user's answer is valid, proceeds to
the
> next field member.
You can test on either keyDown or keyUp. Here's a
quick example of a
behavior you might attach:
on keyUp me
if "1234567890" contains the key = FALSE then
BEEP
stopEvent
else
pass
end if
END keyUp
If all you want to allow is one character per field,
you would test to
see if that specific char as entered; if it was, you
would use the
'keyboardFocusSprite' and 'editable' commands to
change the editability
of your various fields and determine which was to have
the next cursor
point.
Does that help?
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
[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!]