+ Define dragging area limit with custom condition if needed.
I don't know how to make custom function to simulate 'mouseDown until release' which need to repeat scrolling process. Maybe using timer or defines mouseDown and hold function first.
EDIT :
Another sample [Dragging Object] using mouse coordinat ( not perfect but just for starting to make it better )
function drag(sender)
x = object.Left
y = object.Top
setMousePos({x=0,y=0})
object.Left = x
object.Top = y
z=createTimer(nil)
z.Interval=100
z.OnTimer=function(z)
local x, y = getMousePos()
object.Left = x
object.Top = y
end
z.Enabled=true
end
function undrag()
z.Enabled = false
z.destroy()
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum