> let say there is an sentence wich has open spaces where the user
> has to fill
> in one word.
> after he or she has done this, the enter/return key is pressed and the
> content is checked.
> if the content (the word wich was filled in) is wrong the space must be
> empty again.
> if the content is right the it should go to another editable text member.
The trick is filtering key input for ENTER/RETURN and setting the
keyBoardFocusSprite.
Some variation on the below should work as a starting point.
on keyDown me
if (the keyCode = 34) then
stopEvent
-- validate content (word?) entered
if contentIsOK then
the keboardFocusSprite = "theNextTextFieldSpriteNumber"
else
sprite(me.spriteNum).member.text = ""
end if
else
pass
end if
end
HTH,
-Sean.
[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!]