Hi Richmond,
Tell me if this recipe works in your own setup:
1) Import an image
2) Create a small rectangle graphic with no fill
(rectangles without fill is the default style)
3) Paste this script into the image:
local tLocation, OriginalXposition, OriginalYposition
on mouseDown
put the loc
Try on mouseMove instead of on grab:
on mouseMove
if the mouse is down — to make sure you are holding on to something
your code goes here
end if
end mouseMove
Tore
> 15. okt. 2017 kl. 19:07 skrev Richmond Mathewson via use-livecode
> :
>
> If you try that "code snippet" I think you will get t
If you try that "code snippet" I think you will get terribly stuck:
that's a question.
Richmond.
On 10/15/17 8:04 pm, Tom Glod via use-livecode wrote:
richmond, are you asking a question or giving us code snippet to use?
On Sun, Oct 15, 2017 at 1:01 PM, Richmond Mathewson via use-livecode <
u
richmond, are you asking a question or giving us code snippet to use?
On Sun, Oct 15, 2017 at 1:01 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Imagine a stack with a picture of an orange in its centre . . .
>
> The picture: img "arancia", contains the followi
Imagine a stack with a picture of an orange in its centre . . .
The picture: img "arancia", contains the following script:
on mouseDown
grab me
end mouseDown
so the end-user can move the picture wherever they want
all over the stack.
HOWEVER . . . I want to know whether their initial mov