Drag and Drop

Björnke von Gierke bvg at mac.com
Sun Feb 6 16:07:54 CST 2011


note that you can look at the script of the tools palette, if you allow the right click menu to work on ide stacks (preferences, general).

I did that once, and they fake the drag drop, by using a little stack that follows the mouse, and then checking where the mouse is over, once you release it. that is why it sometimes missfires, if you jerk the mouse away while releasing the button.

On 6 Feb 2011, at 22:16, Peter Haworth wrote:

> I would like to set up the equivalent of the LC Tools palette so I can drag and drop some custom controls from it to any card. 
> 
> Mark - I read your excellent write up on Drag and Drop but it seems to be aimed at a different situation than this (dragging info from one control to another).  I also used the message watcher to see what happens when I drag an LC control from the LC tools palette to a card and I didn;t see any of the standard drag/drop messages.
> 
> Any tips on how to set about doing this?  
> 
> Pete Haworth
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list