Re: Docker, anyone?

2015-07-27 Thread David Bovill
Any further with Dockers anyone? On 1 May 2015 at 01:50, Richard Gaskin wrote: > Has anyone here experimented with making a Docker container for a LiveCode > socket server? > > http://www.docker.com/ > > Richard Gaskin > Fourth World Systems > http://fourthworld.com > ___

Re: Thousands Separators

2015-07-27 Thread Peter W A Wood
Mike > On 27 Jul 2015, at 19:14, Michael Doub wrote: > > Peter, there is a function in the MasterLibrary that does this for you. Look > in the Text section. > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Regards, > Mike The MasterLibrary is impressive, I sho

Re: Drawing a Graphice Segment

2015-07-27 Thread Scott Rossi
Just to beat the horse a bit more, here's a stripped down version of Mike's approach that seems to work as expected (LC 7.0.5). In your message box: go url "http://www.tactilemedia.com/download/mouseover_mod.livecode"; Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/2

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
And yeah. chartmaker might be just the ticket. On Mon, Jul 27, 2015 at 2:26 PM, Mike Bonner wrote: > Heres a solution to the "more than one hilites" issue, that works pretty > well. https://dl.dropboxusercontent.com/u/11957935/mouseover.livecode > > On Mon, Jul 27, 2015 at 2:08 PM, Peter Haworth

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
Heres a solution to the "more than one hilites" issue, that works pretty well. https://dl.dropboxusercontent.com/u/11957935/mouseover.livecode On Mon, Jul 27, 2015 at 2:08 PM, Peter Haworth wrote: > Wondering if you know about ChartMaker, available at the Livecode store for > $79. Might save yo

Re: Drawing a Graphice Segment

2015-07-27 Thread Peter Haworth
Wondering if you know about ChartMaker, available at the Livecode store for $79. Might save you a lot of grief for a fairly small outlay. On Mon, Jul 27, 2015 at 1:01 PM Terence Heaford wrote: > Hi again, > > A screenshot here of the graphic behind the pie chart. if I give it a > border that is

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
Hi again, A screenshot here of the graphic behind the pie chart. if I give it a border that is slightly larger than the pie then when the mouse crosses the border the segment colour reverts back to it’s original colour. https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot.png <

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
Just placed a rectangular graphic behind the pie chart and set it to opaque and visible and when I move the pointer out of the chart/segment the segment reverts to original colour. Whether this behaviour will change or not I don’t know but will experiment further. All the best Terry > On 27

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
> On 27 Jul 2015, at 20:29, Mike Bonner wrote: > > Still confused. I can copy my graphics to your stack and they work. I can > copy your graphics and script to my stack and they don't work. (no errors, > just.. no intersects detected) Yes. Its weird. Your confused, my heads spinning :) A

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
If I move my grc's to your stack, they work in your stack. And it seems to me, when I was messing with intersect in the past, if you had 2 graphics, and they intersected with standard graphics, and no worry about things, if there were opaque pixels that intersected, it worked. So, I think there is

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
Rather a lot of code that belongs in a group for creating Pie, Bar & Line Charts. There are probably many improvements that could be made to this as I am a beginner in this LC stuff so I am sure that it’s probably something I have done/not done. As I say, it’s the code belonging in a group tha

Re: Drawing a Graphice Segment

2015-07-27 Thread BNig
Mike Bonner wrote > Also, Bernd, your stack works great for me. I tried opaque pixels with > my > original stack here and.. can't make it work. So I copied your script over > in its entirety to my original stack and.. It doesn't work. You could say > i'm a mite confused! (I did remark out the cod

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
Would you mind sharing your stack, or posting your code? I'm not seeing that behavior here, so now i'm curious. Also, Bernd, your stack works great for me. I tried opaque pixels with my original stack here and.. can't make it work. So I copied your script over in its entirety to my original sta

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
Here’s a movie of what I see. https://dl.dropboxusercontent.com/u/98788898/LiveCode/PieChartTest.mov All the best Terry > On 27 Jul 2015, at 19:40, Terence Heaford wrote: > > On my chart when the mouse leaves the segme

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
This would be a good solution for me because I want to actually display a field containing the segment data rather than highlight it green and when clicking outside of the segments hide the field although the green would be an added bonus. On my chart when the mouse leaves the segment/chart it d

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
Thanks, i'll look at it momentarily and figure out why I can't get opaque pixels to work for me. On Mon, Jul 27, 2015 at 12:31 PM, BNig wrote: > I have sent you your stack that I modified by email. It works in 7.0.6 and > 7.1 DP1 on a Mac. > > Kind regards > Bernd > > > > -- > View this message

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
You could do a slightly exploded pie too, with gaps between parts. There also the old fallback of clicking a piece to interact with it. I'll look at the code more tonight and see if I come up with another solution or two, but listening to bernd is never a bad idea. On Mon, Jul 27, 2015 at 12:21

Re: Drawing a Graphice Segment

2015-07-27 Thread BNig
I have sent you your stack that I modified by email. It works in 7.0.6 and 7.1 DP1 on a Mac. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-Graphice-Segment-tp4694331p4694378.html Sent from the Revolution - User mailing list archive

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
I had tried it with opaque pixels at first, and couldn't get it to work for some reason. I think there was a version where opaque pixels was broke. Maybe I'm still using a broken lc. What version are you using? Just tried it here (7.0.6) and can't get "opaque pixels" to work for me at all. On Mo

Re: Drawing a Graphice Segment

2015-07-27 Thread BNig
Hi Mike, Terence, a bit of a hack but it works: give the segments a radial stroke gradient of e.g. black with black at the left and black at the right. Set the blendlevel of both black to just under full, by selecting one after the other the black little symbol in the gradient setting and slider

Re: Drawing a Graphice Segment

2015-07-27 Thread Mike Bonner
Yeah, this was a very basic example, and it cycles through all graphic objects (except the first).. If you want it to only allow one to hilite, it would take a little extra coding to reset the previous hilite back to normal, and hilite the newest.. Or something of that nature. (i'd have to think o

Re: Parsing and Extracting Text from ePub XHTML

2015-07-27 Thread Brahmanathaswami
Oh My! You are Lord Ganesha's Grace manifest in human form (smile, Elephant Faced One is the "Brains of the universe" This works great! I get output like this: awesome! Dancing with Siva There is on Earth no diversity. He gets death after death who perceives here seeming diversity. As a unity

Re: datagrid: index vs line

2015-07-27 Thread Klaus major-k
Hi Peter, > Am 27.07.2015 um 19:47 schrieb Peter Haworth : > > Yes, That is correct. The index becomes useful if you sort the lines in > the datagrid since the line number might change but its index number will > remain the same. thank you very much, that’s what I wanted to hear :-) > On Mon,

Re: datagrid: index vs line

2015-07-27 Thread Peter Haworth
Yes, That is correct. The index becomes useful if you sort the lines in the datagrid since the line number might change but its index number will remain the same. On Mon, Jul 27, 2015 at 10:14 AM Klaus major-k wrote: > Hi friends, > > just a quick question: > When you set "the dgdata" of a data

Re: datagrid: index vs line

2015-07-27 Thread Klaus major-k
Hi sims, > Am 27.07.2015 um 19:19 schrieb Jim sims : > > I do not know the answer. thanks for caring anyway! :-) > Tried datagrids many times but never could understand them. I know the answer, but wanted to have it confirmed, weak ego and stuff, 'ya know? :-D > sims Best Klaus -- Klaus M

Re: Drawing a Graphice Segment

2015-07-27 Thread Terence Heaford
> On 25 Jul 2015, at 22:37, Mike Bonner wrote: > > Added some tweaks to make it function better, it works pretty well now, Try > re-downloading for the newest version. > https://dl.dropboxusercontent.com/u/11957935/mouseover.livecode > Finally got it to work, however…. I have noticed if you

Re: datagrid: index vs line

2015-07-27 Thread Jim sims
I do not know the answer. Tried datagrids many times but never could understand them. sims On Monday, July 27, 2015, Klaus major-k wrote: > Hi friends, > > just a quick question: > When you set "the dgdata" of a datagrid of type FORM > and you do not sort or re-arrange the datagrid or whatever

datagrid: index vs line

2015-07-27 Thread Klaus major-k
Hi friends, just a quick question: When you set "the dgdata" of a datagrid of type FORM and you do not sort or re-arrange the datagrid or whatever then INDEX = LINE. Know what I mean? Is that correct? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de

Re: Thousands Separators

2015-07-27 Thread Paul Dupuis
On 7/27/2015 7:12 AM, Peter W A Wood wrote: > I would like to display numbers with a thousand separator. I searched the > dictionary and the user guide but couldn’t find any mention of inserting a > thousand separator into a number. Is it a case of do it yourself? > > Look at the 'format' functi

Re: Thousands Separators

2015-07-27 Thread Peter W A Wood
Thanks Mike. > On 27 Jul 2015, at 19:14, Michael Doub wrote: > > Peter, there is a function in the MasterLibrary that does this for you. Look > in the Text section. > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Regards, > Mike > > > On 7/27/15 7:12 AM, Pet

Re: Thousands Separators

2015-07-27 Thread Michael Doub
Peter, there is a function in the MasterLibrary that does this for you. Look in the Text section. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Regards, Mike On 7/27/15 7:12 AM, Peter W A Wood wrote: I would like to display numbers with a thousand separator. I sea

Thousands Separators

2015-07-27 Thread Peter W A Wood
I would like to display numbers with a thousand separator. I searched the dictionary and the user guide but couldn’t find any mention of inserting a thousand separator into a number. Is it a case of do it yourself? Regards Peter ___ use-livecode maili