livfoss at mac.com
Tue Feb 28 07:41:53 EST 2017
I think that some people (like me and very possible Richmond) want to use SVG graphics as effortlessly-resized images. In this context, we don’t really care to think of them as widgets at all (I hope Richmond agrees!). What we want is a class of images which are implemented as SVGs but which function in the same way as other images with respect to mouse messages etc.
Does this make sense or have I entirely got the wrong end of the stick (wouldn’t surprise me)?
Looking at that very interesting thread in the forum, I feel less comfortable than I ever have done about the development trajectory of LiveCode. I mean, extensions (like widgets) are fine, but what is not so fine IMHO is that ‘legacy’ ways of working should be deprecated when they have served developers so well for so long. OTOH I am getting old, so maybe that’s why I feel disturbed about it. You may see GOM (Grumpy Old Man) entering into the alphabet soup.
> On 28 Feb 2017, at 04:10, hh via use-livecode <use-livecode at lists.runrev.com> wrote:
> This is not a bug because a widget is not an ordinary control:
> Nearly all user interaction has to be allowed and scripted.
> I implemented a kind of "grab" in some of my LC8-widget examples.
> You can for example also Not focus on a widget from LC Script (that's
> why the browser widget is 'robust' against commands like "click").
> To the current handling of elementary mouse messages by widgets/LCB
> see for example here, in the LC Builder forum
> I don't know what's updated since then because the widget format changed
> again with LC 9, so I wait first for a stable release before going on.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode