Restricting graphics to a field?

FlexibleLearning at aol.com FlexibleLearning at aol.com
Sun Jan 18 02:07:45 EST 2004


>>  on checktool
>>    if the tool <> "browse"
>>    then choose browse tool
>>    send "checktool" to me in 10 milliseconds
>>  end checktool
>> 
>> this looks suspiciously like...
>> on idle!

>Yes, it is the cpu-friendly way to do idle.

It will also prevent you selecting any other tool. A back-door trap may be 
useful such as 'if the shiftkey is down and the tool <>"browse tool" then...'

/H


More information about the use-livecode mailing list