dragEnter doing weird stuff

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
karbonized
Posts: 2
Joined: Mon May 17, 2010 10:11 pm

dragEnter doing weird stuff

Post by karbonized » Sat Jun 05, 2010 2:35 am

Hi all, this is day one after a several year hiatus from MetaCard and I'm poking the tires—and already I'm stuck.

The dragEnter statement doesn't work as expected so I'm hoping to get pointed in the right direction. Firstly, I find it incredibly odd that dragEnter appears to function like a mouseEnter. I'm not dragging anything but it keeps firing.

Secondly, I've tried every way from Sunday to clear out the data stored in dragData with zero luck.

So right now my script works fine if I drag an image from the desktop (it detects the drag just fine) but because the dragData is refusing to be cleared my script thinks I'm still dragging files to it even though all that's happening is a harmless mouseEnter.

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: dragEnter doing weird stuff

Post by shadowslash » Sat Jun 05, 2010 11:18 pm

karbonized,

You can include your IDE RunRev version and flavor (Media, Studio, Enterprise). Some releases of Rev has some issues so you need to include which IDE you're coding in...
Parañaque, Philippines
Image
Image

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: dragEnter doing weird stuff

Post by mwieder » Sun Jun 06, 2010 2:26 am


Post Reply