SVG widget and grab me command

Tore Nilsen tore.nilsen at me.com
Thu Feb 21 12:17:47 EST 2019


Thanks for your explanation. Since my student does not need any handlers (in fact would not want any handlers added to the widgets), the examples from «ControlHandles89» could not be used.

The simple solution was to «group» each individual SVG widget and add the grab me command to the group.

Best regards
Tore Nilsen








> 21. feb. 2019 kl. 16:02 skrev hh via use-livecode <use-livecode at lists.runrev.com>:
> 
> Widgets are not ordinary controls.
> So this is not a bug, rather a missing feature (the widget
> author will have to implement an own "grab"-handler).
> The widget passes mouseDown but not in a way that "grab" can
> be used. MouseMove isn't passed (=> not usable) at all.
> 
> You could try "ControlHandles89" from "Sample Stacks" or
> http://livecodeshare.runrev.com/stack/902/
> which adds handles to widgets for resizing and grabbing.
> (Or use a solution similar to that).
> 
> 
> _______________________________________________
> 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