(no subject)

Robert Sneidar bobs at twft.com
Wed Jun 14 15:02:00 EDT 2006


This may be a nice feature for future Revolution releases. Auto Field  
Formatting and validation. It's a lot of work to do this though, I  
know. It just seems ugly from an overhead perspective to trap for  
every keydown at this high a level in every field for which you want  
it. I may end up writing some scripts that check for properties of  
objects and respond according to what is found there.

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

> Hi Robert,
>
>
>> This turned out to be a text entry box not set up right
>>
>> how do you set the text entry box to only up to 3 numbers and no CR?
>>
>
> Put this into the fields script:
>
> on keydown tKey
>       if tKey is not a number then
>              exit keydown
>       end if
>      ## This way only number will pass
>      if the num of chars of me < 3 then
>             pass keydown
>       else
>            beep ## or whatever
>       end if
> end keydown
>
> Et voila :-)
>
>
>> Robert Mann
>>
>
> Best from hot germany
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de






More information about the use-livecode mailing list