Detecting a "grabEnter"?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Sep 4 10:49:23 EDT 2008


Bonjour David,

Actually, 2.9 drag and drop feature is able to solve your problem if  
you accept dragged object's automatic blend level.

Le 4 sept. 08 à 15:49, dfepstein at comcast.net a écrit :

> My question about "grabEnter" has led to an interesting broader  
> discussion of the relative merits of grab vs mouseMove..
> I would be happy to write a more complicated "mouseMove"-controlled  
> script, but as far as I can tell that won't solve the problem I  
> posed. If the user is dragging an object, whether using "grab" or  
> by a script reacting to "mouseMove" events, no objects beneath that  
> object receive a mouseEnter or mouseLeave message, because the  
> mouse remains within the object being dragged.
> I can think of ways of amending Transcript that would solve this  
> problem--probably by extending the current usage of the various  
> messages associated with drag and drop actions. But is there any  
> way to do what I want with the language as it is? Capturing  
> "mouseMove" doesn't tell me "what control the dragged object has  
> just moved on top of" unless at each nudge of the mouse I compare  
> the mouseLoc with the rectangles of all potential target objects.
> David Epstein

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list