Hi Charles

I came across in Rev. 2.1 a recipe for a numbers only field but it only allows numerals up to nine.
How can I include decimals, e.g. such as .65 and 10.5 as numbers?

Put this into the field script:


on keydown lekey
  if lekey is in "0123456789." then
    pass keydown
  end if
end keydown

Hope that helps...

Charles

Regards


Klaus Major
[EMAIL PROTECTED]
www.major-k.de

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to