keyDown, keyUp ... nothing doing

Mathewson richmond at mail.maclaunch.com
Mon May 10 06:43:41 EDT 2004


I have a problem with numbers!

I made a sophisticated little program that would tell me
whether I had pressed a numeric key or not (silly really)
and it did not work!!!!!

2 text boxes; one called "fTYPE" and the other called
"fOUT".......

focus set on "fTYPE"


on keyDown
  put empty into fld "fOUT"
  if theKey is not a number then put "non number" into fld
"fOUT"
  else pass keyDown
end keyDown
   

and even when I hit a '2' it pops 'non number' into "fOUT"


(USB keyboard on a G4 Mac)


headaches in all directions...........

Help gratefully received............Richmond

__________________________________________________
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html    and
http://www.runrev.com/Revolution1/developercentral/usercontributions.html
_______________________________________
---------------------------------------------------------------
Great Macintosh Products 
 The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi
---------------------------------------------------------------
Make the most out of Apple's innovative technologies
http://developer.apple.com/wwdc/applelinks.html


More information about the use-livecode mailing list