Cuss me out:
http://forums.livecode.com/viewtopic.php?f=7=27672=145011#p145011
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
This should do what you want, in the script of the group (set the margins
of the group to 0):
local scrollX, clickX, allowDrag
on mouseDown
put hScroll of me into scrollX
put mouseH() into clickX
put true into allowDrag
end mouseDown
on mouseMove X,Y
if not allowDrag then exit
Another mousemove version..
local sDragging, sLastX
on mouseup
put false into sDragging
end mouseup
on mouserelease
put false into sDragging
end mouserelease
on mousedown
put true into sDragging
put item 1 of the mouseloc into sLastX
end mousedown
on mousemove px,py
if the mouse
try putting the following script into each moving image:
local tx, ty, dx
on mousedown
put item 1 of the loc of me into tx
put item 2 of the loc of me into ty
put tx- the mouseH into dx
end mousedown
on mouseMove x,y
if the mouse is down then set the loc of me to x+dx, ty
end mouseMove
Put the following in the script of the image that is inside the
scrolling group. You may also want to change the cursor to a hand on
mouseDown
on mouseDown
set the hMin of me to 0
set the hPos of me to item 1 of the mouseLoc
set the hMax of me to the width of me
end mouseDown
on
See daft effort here:
http://forums.livecode.com/viewtopic.php?f=7=27672
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Stupid Richmond:
on mouseDown
set the idleRate to 0
grab me
end mouseDown
on mouseStillDown
set the loc of me to (item 1 of the loc of me, 133)
end mouseStillDown
http://lists.runrev.com/pipermail/use-livecode/2012-January/166949.html
Now: how does one prevent the 'wobble'?
ferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Slip-sliding-away-tp4706994p4706997.html
Sent from the Revolution - User mailing list archive at Nabble.com.
__
.runrev
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Slip-sliding-away-tp4706994p4706997.html
Sent from the Rev
this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Slip-sliding-away-tp4706994p4706997.html
Sent from the Revolution - User mail
I made a lng rectangular image (3 times wider than my stack) and
grouped it
into a group the width of my stack and gave it a horizontal scrollbar;
so I can scroll the image
laterally using the scrollbar . . . surprise, surprise; and jolly s*xy
it looks too.
I would look even s*xier if
11 matches
Mail list logo