Hi Bob, > Appreciate any suggestions that would replace the following script, > that I used in SuperCard, to one in Revolution. Want to enter only > certain chars into a field. > > on openField > set the numberFormat to "0.000" > keyInField theKey > add 0 to me > end openField
Sorry, i am not ure about this script... > on keyInField theKey > set allowKeyInField to true > if theKey is in "0123456789." or charToNum(theKey) = 8 then pass > keyInField > end keyInField should read: on keydown theKey if theKey is in "0123456789." or charToNum(theKey) = 8 then pass keydown end keydown > Regards ... Bob It's only half the rent, but may help anyway ;-) Regards Klaus Major [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
