[beginner] x,y coordinates in LiveCode

dunbarx at aol.com dunbarx at aol.com
Sat Jan 10 12:58:48 EST 2015


Colin.


Hi. Long time...


I do not get all the mails from the use-list. And never my own, though I used to.


But anyway, this works for me in the card script. Why wouldn't it?


Craig



-----Original Message-----
From: Colin Holgate <coiin at verizon.net>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sat, Jan 10, 2015 12:48 pm
Subject: Re: [beginner] x,y coordinates in LiveCode


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

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

 



More information about the use-livecode mailing list