Search found 87 matches

by pthirkell
Wed May 31, 2017 12:10 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

I've been working on this for the last couple of days (and in the process getting my share of LCB frustration and learning a lot of un- or under- documented things. So here's what I've got to date... it does a better job of parsing more formats (hopefully will get frans farther along)... Peter- I t...
by pthirkell
Thu May 25, 2017 12:24 pm
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

I sympathise Frans with the challenges of figuring out the various SVG code formats. I went through a similar process but settled on Affinity Designer because it seems to be able to open a variety of SVG source files and then export them out using clean, predictable code. I wouldn’t recommend writin...
by pthirkell
Tue May 23, 2017 9:02 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

Hey Mark Many thanks for the enhancements and improved flexibility in the parsing routine. While I remain hopeful that full color SVG handling will eventually find its way into the engine directly, its great that you have extended the colour SVG widget code to serve a wider range of users. Much appr...
by pthirkell
Mon Jan 16, 2017 10:57 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

Thanks Bernd the encouragement is appreciated. I have tended to consider myself as a rudimentary Livecoder, but maybe now I have graduated to intermediate class ;) Still plenty to learn!

If we both make it to the next conference then let's aim to take more time to chat over dinner.
by pthirkell
Mon Jan 16, 2017 8:11 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

Below is a tweaked version of the color widget lcb file which seems to run ok under LC 9 dp 4. There is a somewhat obscure and intermittent bug when using the color picker to change one or other of the path color properties ... a bug report has been filed. For simply displaying and resizing color wi...
by pthirkell
Sat Jan 14, 2017 9:18 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

I do have a slightly amended LCB script which now runs under LC 9 dp 4 if anyone particularly wants it. However I would recommend waiting unless you really need version 9 for other reasons. There is a slightly obscure (confirmed) bug in the color picker for LC9 dp 4, but if you only need to display ...
by pthirkell
Wed Nov 23, 2016 9:18 pm
Forum: LiveCode Builder
Topic: Working lcb script in LC 8 generates error in LC 9 dp 2
Replies: 8
Views: 6984

Re: Working lcb script in LC 8 generates error in LC 9 dp 2

Many thanks Hermann. After your tidy up of my handler code the widget is now working properly in LC 9 dp 2. Much appreciated :)
by pthirkell
Wed Nov 23, 2016 10:43 am
Forum: LiveCode Builder
Topic: Working lcb script in LC 8 generates error in LC 9 dp 2
Replies: 8
Views: 6984

Re: Working lcb script in LC 8 generates error in LC 9 dp 2

The lcb script causing the problem is "Widget_Scale_mark4.lcb.zip" posted under "SVG in widgets - any roadmap?" in the Livecode Builder forum. In its present form it generates an error "list must be numeric" on lines 619 and 620. Changing the code to "parse the list as number" resolves the compiler ...
by pthirkell
Wed Nov 23, 2016 10:21 am
Forum: LiveCode Builder
Topic: Working lcb script in LC 8 generates error in LC 9 dp 2
Replies: 8
Views: 6984

Re: Working lcb script in LC 8 generates error in LC 9 dp 2

Happy to post bug report, but frustratingly I now can't exactly replicate the error myself. It may have something to do with how I tried to fix a parsing error that was generated by the original script which worked fine in lcb 8. If I can recreate the original error (something to do with expecting a...
by pthirkell
Wed Nov 23, 2016 9:26 am
Forum: LiveCode Builder
Topic: Working lcb script in LC 8 generates error in LC 9 dp 2
Replies: 8
Views: 6984

Working lcb script in LC 8 generates error in LC 9 dp 2

When I ran my script it generated a couple of minor errors which were easily fixed. These were to do with the parsing of numeric literals which is flagged in the release notes. But when the widget attempts to launch in the Test Window it generates the following error: 9:12 PM: Launching in Test Wind...
by pthirkell
Wed Oct 12, 2016 10:41 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

OK sure ... good idea!
Widget_Scale_mark4.lcb.zip
SVG Color lcb file
(130.38 KiB) Downloaded 583 times
by pthirkell
Wed Oct 12, 2016 3:56 am
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

I have persevered with my attempts to create multicoloured widgets, because I need them for another project. I realise that it may well have a short "half-life" because, as Bernd helpfully pointed out, it is intended that full SVG support will eventually find its way into the engine. I don't regret ...
by pthirkell
Mon Sep 12, 2016 10:48 am
Forum: LiveCode Builder
Topic: Can't save stack
Replies: 3
Views: 4665

Re: Can't save stack

OK well it seems that I wasn't constructing the OnSave handler quite correctly. Apologies for inconvenience.
by pthirkell
Mon Sep 12, 2016 10:22 am
Forum: LiveCode Builder
Topic: Can't save stack
Replies: 3
Views: 4665

Can't save stack

I have a widget script which works fine in test mode and installs ok. When I create a new stack and drag out the widget however, any subsequent attempt to save the stack fails. I get a dialog box saying... Can't save stack 'myStackName' due to an error: Error writing stack (disk full?) Any pointers ...
by pthirkell
Sun Aug 28, 2016 11:18 pm
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 40188

Re: SVG in widgets - any roadmap?

I also have the need for color widgets for a project on which I am working. Inspired by a couple of key sessions at the conference - and keen to contribute towards the 1000 widgets that Kevin would like to see over the next year - I have been working on a color SVG widget. So far it takes a tagged S...

Go to advanced search