>  > Specifically, I want only numbers allowed into a
>>  field member. I can't
>>  remember what I need to make that happen.
>>
>>  Any help would be greatly appreciated! Thanks!
>>
>>  ----
>michael u can use if then else command or case command
>to check the ascii value of the entered character
>which r consecutive for numbers and only for these
>ascii values the editable of that field should be on
>else off... and ur job is done


It can be easier still. Put this into the script attached to your field sprite:


on keydown
     if "0123456789" contains the key then pass
end


[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