Re: [ANN] a gauge widget

2017-06-10 Thread Niggemann, Bernd via use-livecode
Ali Lloyd via use-livecode Fri, 09 Jun 2017 13:40:50 -0700 Bernd, The problem with your OnSave /

Re: [ANN] a gauge widget

2017-06-09 Thread Peter Thirkell via use-livecode
Re: I get the following error message: ?Can?t save stack ? due to an error: Error writing stack (disk full?)” I had this issue a while back and Ali set me right: “You can’t serialise a non-primitive type in your OnSave code. If you try to

Re: [ANN] a gauge widget

2017-06-09 Thread Niggemann, Bernd via use-livecode
The problem with saving has been solved and a new version of the Gauge widget has been uploaded to the edited first post. http://forums.livecode.com/viewtopic.php?f=93=29348=154750 this version also adds a SVG icon to the widget. Thanks everyone for your interest and hints. Should have tested

Re: [ANN] a gauge widget

2017-06-09 Thread BNig via use-livecode
Thanks Tom, I had just found out what the problem was, Now it works as advertised. will update the .lcb file in the forum to version 0.2.0 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-a-gauge-widget-tp4715635p4715695.html Sent from

Re: [ANN] a gauge widget

2017-06-09 Thread Niggemann, Bernd via use-livecode
> Check that all the vars which are saved into the props array have been > assigned, and that the getRadiusAndCenterPoint() can't throw an error in > that case. thanks Mark for looking into this. The problem was that onSave did not appreciate saving a variable of type Color, I had to do string

Re: [ANN] a gauge widget

2017-06-09 Thread Ali Lloyd via use-livecode
Bernd, The problem with your OnSave / OnLoad handlers are that Point and Color are types defined in the canvas module that the array-saving code does not know about. These need to be converted to a core type, eg string or list. On Fri, Jun 9, 2017 at 7:52 PM Richmond Mathewson via use-livecode <

Re: [ANN] a gauge widget

2017-06-09 Thread Richmond Mathewson via use-livecode
Slow learner: https://livecode.com/app-in-a-day/livecode/installing-extensions/ On 6/9/17 9:21 pm, Richmond Mathewson wrote: This looks exciting, if only I knew how to install it . . . Richmond. On 6/9/17 12:43 pm, BNig via use-livecode wrote: further experimenting with Livecode Builder I

Re: [ANN] a gauge widget

2017-06-09 Thread Mark Waddingham via use-livecode
On 2017-06-09 20:46, Niggemann, Bernd via use-livecode wrote: But I can not find what I did wrong in onSave. Still searching. Check that all the vars which are saved into the props array have been assigned, and that the getRadiusAndCenterPoint() can't throw an error in that case. I can't

Re: [ANN] a gauge widget

2017-06-09 Thread Niggemann, Bernd via use-livecode
On 2017-06-09 20:02, Matthias Rebbe via use-livecode wrote: Another thing i noticed is that i cannot save the stack when the widget is placed onto the stack. I get the following error message: “Can´t save stack … due to an error: Error writing stack (disk full?)" That means that the OnSave

Re: [ANN] a gauge widget

2017-06-09 Thread Mark Waddingham via use-livecode
On 2017-06-09 20:02, Matthias Rebbe via use-livecode wrote: Another thing i noticed is that i cannot save the stack when the widget is placed onto the stack. I get the following error message: “Can´t save stack … due to an error: Error writing stack (disk full?)" That means that the OnSave

Re: [ANN] a gauge widget

2017-06-09 Thread Richmond Mathewson via use-livecode
This looks exciting, if only I knew how to install it . . . Richmond. On 6/9/17 12:43 pm, BNig via use-livecode wrote: further experimenting with Livecode Builder I did a Gauge widget that I posted in the Forum http://forums.livecode.com/viewtopic.php?f=93=29348 Kind regards Bernd --

Re: [ANN] a gauge widget

2017-06-09 Thread Matthias Rebbe via use-livecode
Hi Bernd, thanks. Believe me, i would do it for installation by myself if i would know how to do it.;) Another thing i noticed is that i cannot save the stack when the widget is placed onto the stack. I get the following error message: “Can´t save stack … due to an error: Error writing stack

Re: [ANN] a gauge widget

2017-06-09 Thread Mark Wieder via use-livecode
On 06/09/2017 09:49 AM, Matthias Rebbe via use-livecode wrote: Bernd, thanks for that cool widget. What i noticed is that the widget has a general icon showing the text widget. Is there a way to add a custom icon? Would be much easier to recognise it when several widgets with general icons are

Re: [ANN] a gauge widget

2017-06-09 Thread Niggemann, Bernd via use-livecode
Thanks everybody for their kind words. Livecode Builder takes a while to get into but then it is actually fun. And you can do things that are not possible in Livecode Script Matthias Rebbe wrote: What i noticed is that the widget has a general icon showing the text widget. Is there a way to

Re: [ANN] a gauge widget

2017-06-09 Thread J. Landman Gay via use-livecode
Bernd's stuff is always so amazing. Very cool. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: [ANN] a gauge widget

2017-06-09 Thread Matthias Rebbe via use-livecode
Bernd, thanks for that cool widget. What i noticed is that the widget has a general icon showing the text widget. Is there a way to add a custom icon? Would be much easier to recognise it when several widgets with general icons are installed. Matthias Matthias Rebbe +49 5741 31

Re: [ANN] a gauge widget

2017-06-09 Thread Mark Wieder via use-livecode
On 06/09/2017 02:43 AM, BNig via use-livecode wrote: further experimenting with Livecode Builder I did a Gauge widget that I posted in the Forum That is *very* cool. And thanks - you just saved me a bunch of time. I've been trying to wrap my head around how to make one of these and now I

Re: [ANN] a gauge widget

2017-06-09 Thread panagiotis merakos via use-livecode
This is really cool Bernd :) On 9 Jun 2017 10:59, "BNig via use-livecode" wrote: > further experimenting with Livecode Builder I did a Gauge widget that I > posted in the Forum > > http://forums.livecode.com/viewtopic.php?f=93=29348 > > > Kind regards > Bernd > >