setting bordercolor of images in group

Klaus on-rev klaus at major.on-rev.com
Tue Apr 19 10:19:00 EDT 2011


Hi Wolfgang,

> Hallo Klaus,
> 
> a workaround may be:
> on dragenter
>   ...
>   if the short name of the owner of the target is not "g1" then
>        do "group" && the long id of the target
>        set the name of the owner of the target to "g1"
>    end if
>    set the bordercolor of the owner of the target to  255,255,102
> end dragenter

well, nice idea, but then I need to ungroup everything "on dragleave".
Seems to be overkill for the 100 images in that group ;-)

I created a graphic and show and set its rect accordingly instead.

> Beste Grüße
> Wolfgang

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list