Le 18 janv. 2011 à 12:41, Martin Meili a écrit :

> on mouseup
>     if the hilite of me <> true then
>     set the hilite of me to true
> break
>   end if
>   if the hilite of me = true then
>       set the hilite of me to false
>   end if
> end mouseup

Hi,

this script does the same as yours  :

on mouseup
    set the hilite of me to not the hilite of me
end mouseup

My 2 cents.

Thierry




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to