-- button script
property pNum

on beginSprite me
  pNum = 0
  put "" into field "field name"
end

on mouseUp me
  if pNum > 10 then exit
  pNum = pNum + 1
  put pNum into field "field name"
end

----------------------------------------------------------
Ramesh CT
Phoenix Global Solutions (I) Pvt Ltd
http://www.lingoman.net/
----------------------------------------------------------



[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