Capslockkey function

Rob Cozens rcozens at pon.net
Mon Mar 20 11:03:37 EST 2006


Hi Jan,

>    on keyDown pKey
>      if pKey is an integer then pass keyDown
>    end keyDown
>
>
>    This will allow to type numbers only and use the delete key.
>    No more :-)
>

Make that _whole_ numbers only: no decimal separator is allowed.

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)




More information about the Use-livecode mailing list