grabbing an SVG?
Klaus major-k
klaus at major-k.de
Sun May 7 14:29:36 EDT 2017
Hi Richmond,
> Am 07.05.2017 um 20:24 schrieb Richmond Mathewson via use-livecode <use-livecode at lists.runrev.com>:
>
> Oh, look, just for a change I am replying to my own message:
>
> On 5/7/17 9:15 pm, Richmond Mathewson wrote:
>> If I import an image into a stack and give it this script:
>>
>> on mouseDown
>> grab me
>> end mouseDown
>>
>> it works superbly: I can grab the image with my mouse and take it for a walk round the stack,
>> and when I release the mouse button I drop the image.
>>
>> If I do that with an SVG widget things don't behave in the same way at all, at all.
>>
>> Richmond.
> Turns out that if you GROUP the widget and put the GRAB script in the group things
> work as they should . . .
>
> . . . Documentation . . . cough, cough
I'm afraid most, if not all, widgets have not been programmed to react on any "mouse" message.
Not sure if that is by purpose or not and if yes why 8-)
> Richmond.
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list