Trapping for option drag

Marty Knapp martyknappster at gmail.com
Mon Dec 9 14:59:43 EST 2013


Thanks Mark - I tried a frontscript trapping for mouseDown and the 
optionKey and that seems to do the trick.

Marty
> Hi Marty,
>
> Just write a frontscript that handles the drag before the IDE does. You could also create your own tool with a custom cursor and a global variable or property to store the mode of that tool.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
>
> We have time for new software development projects. Contact me for a quote.
>
>
>
>
>
>
> On 9 dec 2013, at 20:01, Marty Knapp wrote:
>
>> Is there a way to trap (to disable) the ability to option drag a selected object (which makes a copy)? I need to disable it for some objects on a card, yet still allow the user to select and reposition the object. I've been fiddling with it here and can't seem to come up with anything.
>>
>>





More information about the Use-livecode mailing list