Hi,

Who can help me with this, i have several fieldmembers which the user has to
fill in with the right word. After typing his answer he should use the enter
or the return key to jump (go) to the next field he/she should fill in until
the test is completed.

I have an moviescript wich makes te fields empty and does not make an extra
line to the editable field. see script below





on startMovie

init

end startMovie

on CaptureReturn

if the key=RETURN then

dontPassEvent

end if

end





on init

put EMPTY into member 10

put EMPTY into member 11

put EMPTY into member 12

put EMPTY into member 13

put EMPTY into member 14

put EMPTY into member 15

put EMPTY into member 16

put EMPTY into member 33

put EMPTY into member 34

put EMPTY into member 35

put EMPTY into member 42

put EMPTY into member 43

put EMPTY into member 44

put EMPTY into member 45

put EMPTY into member 46

put EMPTY into member 47

put EMPTY into member 48


end init





on exitFrame

go to the frame

end



-- the fieldmembers have the following script attached to it, how can i use
the returnkey with this script or an additional line to go to the next
member (field).



on mouseDown me


the keyDownScript = "CaptureReturn"


tTestList=["poivrade","Poivrade"]

if tTestlist.getPos(member(10).text)= 0 then member(10).text=empty


end





tia



Herman Duijndam



[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!]

Reply via email to