Folks:

creating a mortgage calculator for a client. looking for a tip on code to 
allow the user to either click the custom 'number' buttons or to type 
them in using the keyboard keys. 

Problem is, if the user types in an alphabet character, the letter 
appears in the number box and obviously the formula go 'kaplooee'. that's 
no good. Other than adding a script (using keyPressed(), keyCode, 
keyDown, etc.) that ignores alphabet keys, is there a shortcut so that 
only number keys are recognized when entered?

thanx

-K-

_______________________________________________________

Keith P, Lawrence, Publisher
InnovatioNS

6021 Young Street   Suite 240
Halifax, NS Canada   B3K 2A1
902.453.0571 (Direct Line)
902.453.0105 (Facsimile)
www.innovatioNS.org

_______________________________________________________


[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