Restricting graphics to a field?

Doug Lerner doug at webcrossing.com
Sat Jan 17 01:24:16 EST 2004


To me:

That is probably because once the tool is changed to the graphic tool the
target must be a card because all graphics reside in cards.

Interestingly enough, if you watch the Object Inspector at the same time,
the object becomes "Graphic 1" - even before the object is created.

doug

On 1/17/04 3:18 PM, "Doug Lerner" <doug at webcrossing.com> wrote:

> Another "almost but not quite":
> 
> on mouseMove
> if the target is "field " & quote & "canvas" & quote then
>   choose graphic tool
> else
>   choose browse tool
> end if
> end mouseMove
> 
> This one gets unbearably close to what I want. The weird thing is, *just* in
> the canvas field, the mouseMove messages seems to get sent twice! Once for
> the field and once for the card in which the field is in. So it bounces
> between the graphic and browse tool.
> 
> Why would the message be sent twice - once for the field and once for the
> card which the field is in? But only for that one field!
> 
> doug
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list