[beginner] x,y coordinates in LiveCode
Colin Holgate
coiin at verizon.net
Sat Jan 10 12:47:38 EST 2015
You may notice by now the similarity between your suggestion and what I suggested. One slight difference is that I tested mine first, and discovered that mousewithin doesn’t work as a card script, at least not on its own. Reading the dictionary it seems that a mousewithin handler has to be inside the object itself.
> On Jan 10, 2015, at 12:36 PM, dunbarx at aol.com wrote:
>
>
> Do you need the "x,y" if all you are trying to do is find the locs of controls? Perhaps in the card script:
>
>
> on mouseWithin --or "mouseEnter"?
> put the name of the target && the loc of the target
> end mouseWithin
More information about the use-livecode
mailing list