DragImage

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MarcVanCauwenberghe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 142
Joined: Thu Feb 21, 2013 8:47 am

DragImage

Post by MarcVanCauwenberghe » Mon Apr 14, 2014 6:45 pm

Hi,

While dragging if you use a dragImage the cursor defauts to the top left of the chosen image.
This looks a bit unnatural Is there a way to change where it is to for instance the middle of the image.

Thanks,
Marc

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10058
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: DragImage

Post by FourthWorld » Mon Apr 14, 2014 8:21 pm

See the dragImageOffset property.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

MarcVanCauwenberghe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 142
Joined: Thu Feb 21, 2013 8:47 am

Re: DragImage

Post by MarcVanCauwenberghe » Mon Apr 14, 2014 8:35 pm

Thank you, should have RTFM. :oops:

Marc

Post Reply