I can see the wisdom of this before we had the topLeft and bottomRight
properties. You could simply parse the first two items and the last two items
and get the same thing.
Bob S
On Jan 10, 2015, at 09:50 , Richard Gaskin
mailto:ambassa...@fourthworld.com>> wrote:
Like most languages, LiveCo
Look at doing the move without messages.
*move* btn "btnA" to 95,102 without messages
etc.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http:/
Using the code for my menu it looks good, but I can easily confuse LC by
clicking fast, sometimes two buttons will move, other times three. Most of
the time all four buttons will drop (correctly), but like I said, by
clicking fast I can easily confuse LC.
On Sat, Jan 10, 2015 at 2:02 PM, Shawn Bl
Thanks. Colin I used your idea, then Richards. Both work! Here's what I
ended up with.
*on* mouseMove x,y
*put* "Object: "& the name of the target && the loc of the target &\
cr&"Mouse: "& x,y into fld "lblLocation"
*end* mouseMove
I'm doing not anything ground-breaking here. Jus
lled out in the dictionary. Well what
do you know?
Craig
-Original Message-
From: Richard Gaskin
To: use-livecode
Sent: Sat, Jan 10, 2015 12:51 pm
Subject: Re: [beginner] x,y coordinates in LiveCode
Shawn Bl wrote:
> I'm trying to find the x,y coordinates with a mouse hover t
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
Colin Holgate wrote:
> 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.
Coordinates are a goo
Shawn Bl wrote:
I'm trying to find the x,y coordinates with a mouse hover to find the
location of buttons on my card.
Perhaps a little stack or something. Trying to create a menu and need to
the x,y coordinates for several buttons.
Like most languages, LiveCode provides a way to express the
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 insid
the "within" operator with a
"mouseMove" message, for example.
Craig
-Original Message-
From: Peter M. Brigham
To: How to use LiveCode
Sent: Sat, Jan 10, 2015 11:29 am
Subject: Re: [beginner] x,y coordinates in LiveCode
On Jan 10, 2015, at 10:47 AM, Shawn Blc wrote:
On Jan 10, 2015, at 10:47 AM, Shawn Blc wrote:
> I'm trying to find the x,y coordinates with a mouse hover to find the
> location of buttons on my card.
>
> Perhaps a little stack or something. Trying to create a menu and need to
> the x,y coordinates for several buttons.
What are you trying to
A card script like this could be quicker:
on mouseenter
put the loc of the target
end mouseenter
Then you could point at each of the buttons and fields.
> On Jan 10, 2015, at 10:54 AM, Roger Eller wrote:
>
> put the loc of btn "myButton"
> On Jan 10, 2015 10:48 AM, "Shawn Blc" wrote:
>
put the loc of btn "myButton"
On Jan 10, 2015 10:48 AM, "Shawn Blc" wrote:
> I'm trying to find the x,y coordinates with a mouse hover to find the
> location of buttons on my card.
>
> Perhaps a little stack or something. Trying to create a menu and need to
> the x,y coordinates for several but
I'm trying to find the x,y coordinates with a mouse hover to find the
location of buttons on my card.
Perhaps a little stack or something. Trying to create a menu and need to
the x,y coordinates for several buttons.
___
use-livecode mailing list
use-liv
14 matches
Mail list logo