Re: Making data plots

2014-09-08 Thread Geoff Canyon
On Sun, Sep 7, 2014 at 3:49 PM, William Prothero proth...@earthednet.org wrote: Also, I am assuming that if I delete a group, all of the objects in it are also deleted. Another possibility is to simply hide the group. That way creating another graph will likely be faster -- depending on your

Re: Making data plots

2014-09-08 Thread Terence Heaford
I to do a similar thing when creating a pie chart in a group. All the chart handlers are in the group. Here is an example for creating a segment of a pie chart: on drawASegment tLeft,tTop,tRight,tBottom,tRadius,tStartAngle,tArcAngle,tColor set the style of the templateGraphic to oval

Re: Making data plots

2014-09-08 Thread Geoff Canyon
I generally use a utility command, something like: on forceNControls pID,N put max(2,N + 1) into M repeat (the number of controls of pID) - M + 1 delete control M of pID end repeat set the vis of control 1 of pID to (N 0) repeat with i = (the number of controls of pID) to N - 1

Re: Making data plots

2014-09-08 Thread FlexibleLearning.com
Or use ChartMaker... www.flexibleLearning.com/chartmaker Hugh Senior FLCo William Prothero wrote: Folks: I?ve been working on an app that plots various kinds of data. For some of the data, where I need a line plot, I create lines, boxes, labels, etc, and after they are displayed, I take

AW: go stack on windows behaves strange

2014-09-08 Thread Tiemo Hollmann TB
I did some more tests. Though this strange hang occurs only randomly, it only occurs in a 6.6.2 standalone. With a 6.5.2 standalone of the same stack, I couldn't reproduce this behavior. Also not with 6.6.2 when creating a clean test stack with going to a second stack from a splash stack. So there

Re: Making data plots

2014-09-08 Thread Beat Cornaz
Hi William, If you have a line plot, I would use one single line and set the points of the line to the desired data points. If you have multiple elements, the following might help. I use it to make grids, but I think the principle can be used for charts as well. You'll create a template

Re: Orientation Support Mobile

2014-09-08 Thread Mike Kerner
Thanks, Ralph, now I have something else to try, today! On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola rdimo...@evergreeninfo.net wrote: Mobile Orientation change cookbook: 1. Device is flipped. 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent

Re: Calling Andre Garzia

2014-09-08 Thread Andre Garzia
Hi Simon, Thanks a lot! Both Richard and Matthias forwarded the thread to me. I've already replied. Damn, the guy sent me a single email that goes to spam and all hell breaks lose. And the worse thing, the problem was not even with my library but with the fact the he is trying to write to

Re: Making data plots

2014-09-08 Thread Earthednet-wp
Folks, Thanks for all the good ideas. For line plots, I do create a line and set the points of the line to the values I want. For plots with discrete symbols (there may be many thousands), I draw directly into an image using a derivative of code I got from Colin's simple draw program. This

Re: Calling Andre Garzia

2014-09-08 Thread J. Landman Gay
We missed you too. We're a great group full of interesting people, but it just wasn't the same without you. On September 8, 2014 9:12:57 AM CDT, Andre Garzia an...@andregarzia.com wrote: Hi Simon, Thanks a lot! Both Richard and Matthias forwarded the thread to me. I've already replied. Damn,

Re: preOpenStack

2014-09-08 Thread Robert Brenstein
On 07.09.2014 at 17:18 Uhr -0500 J. Landman Gay apparently wrote: It seemed non-intuitive to me too that you could put a preOpenStack handler in a card, because the card wasn't open yet. That was wrong-thinking. I asked Mark Waddingham about it some years ago and he said that the entire

Re: Calling Andre Garzia

2014-09-08 Thread Richard Gaskin
Andre Garzia wrote: I miss you all and I wish I was there at the conference with you folks! We sure missed you too - and it occurred to me that this conference represented a milestone of sorts for Kevin: The very first LC conference was organized by Dan Shafer and Chipp Walters at a BB in

RE: Orientation Support Mobile

2014-09-08 Thread Ralph DiMola
Mike, When you are processing the resizestack message you can determine the orientation using mobileOrientation(). Or better use my PorL() function(included in the simulcast materials) so you can test in the IDE and know what it will look like on the mobile device. Ralph DiMola IT Director

Re: Calling Andre Garzia

2014-09-08 Thread Trevor DeVore
On Mon, Sep 8, 2014 at 11:44 AM, Richard Gaskin ambassa...@fourthworld.com wrote: So at this point Kevin is now tied with Andre for record attendance at LiveCode conferences. :) It may be a 3-way tie. I think I've only missed Malta :-) -- Trevor DeVore ScreenSteps www.screensteps.com-

Re: Orientation Support Mobile

2014-09-08 Thread Mike Kerner
Yes, I know I can see what the orientation is, but it's the forcing of some cards to render a certain way, no matter what that is causing a problem. On Mon, Sep 8, 2014 at 1:02 PM, Ralph DiMola rdim...@evergreeninfo.net wrote: Mike, When you are processing the resizestack message you can

icon sizes

2014-09-08 Thread larry
does anyone know the sizes needed to include an icon in a Windows build? thanks p.s. why does LC make this information so difficult to find? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Orientation Support Mobile

2014-09-08 Thread Mike Kerner
Also, Ralph, to your original suggestion, I'm not looking to support orientation changing, initially, I'm looking to have some cards render one way and some the other way. When you have everything accept both orientations, you wind up with a situation where you also have to move controls to

Re: Calling Andre Garzia

2014-09-08 Thread Alex Tweedly
On 08/09/2014 18:13, Trevor DeVore wrote: On Mon, Sep 8, 2014 at 11:44 AM, Richard Gaskin ambassa...@fourthworld.com wrote: So at this point Kevin is now tied with Andre for record attendance at LiveCode conferences. :) It may be a 3-way tie. I think I've only missed Malta :-) Which Malta

Re: icon sizes

2014-09-08 Thread Charles E Buchwald
Hi Larry, Is this helpful? http://buchwald.ca/lc/Windows-Icons.png - Charles On 08 Sep 2014, at 12:43 PM, la...@significantplanet.org wrote: does anyone know the sizes needed to include an icon in a Windows build? thanks p.s. why does LC make this information so difficult to find?

Re: icon sizes

2014-09-08 Thread larry
Yes, Thanks Charles Larry - Original Message - From: Charles E Buchwald char...@buchwald.ca To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, September 08, 2014 12:20 PM Subject: Re: icon sizes Hi Larry, Is this helpful? http://buchwald.ca/lc/Windows-Icons.png -

Re: Orientation Support Mobile

2014-09-08 Thread Mike Kerner
Try this: 1) create a stack 2) set the dimensions to ipad (1024x768), just because 3) Set the background color to whatever you want 4) Toss a button on the top, left, right, and bottom, just so you can have a reference point 5) set standalone for your mobile platform (i did ios, and targeted ipad)

Re: Orientation Support Mobile

2014-09-08 Thread J. Landman Gay
On 9/8/2014, 12:39 AM, Ralph DiMola wrote: 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). I thought it was the other way around and the orientationChanged message should really be called orientationAboutToChange. -- Jacqueline

Re: Calling Andre Garzia

2014-09-08 Thread J. Landman Gay
On 9/8/2014, 12:13 PM, Trevor DeVore wrote: On Mon, Sep 8, 2014 at 11:44 AM, Richard Gaskin ambassa...@fourthworld.com wrote: So at this point Kevin is now tied with Andre for record attendance at LiveCode conferences. :) It may be a 3-way tie. I think I've only missed Malta :-) I

RE: Orientation Support Mobile

2014-09-08 Thread Ralph DiMola
You are correct. What I meant was that the rect of the card is still the old rect when that message starts. That message should have a synonym of orientationAboutToChange. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From:

Re: Calling Andre Garzia

2014-09-08 Thread Trevor DeVore
On Monday, September 8, 2014, Alex Tweedly a...@tweedly.net wrote: Which Malta ? 2004 or 2006 ? or both ? in which case maybe it's not a 3-way tie :-) There were 2 of them? I'm out of the running then :-) -- Trevor DeVore ___ use-livecode

RE: Orientation Support Mobile

2014-09-08 Thread Ralph DiMola
I have a handler the returns the rect of the card and has an option of returning 1)the remain card area 2) original size but the top is off the screen (negative items 1 and 3) 3) ignore the keyboard altogether. Also an additional offset is implemented. See below. function getCardRect

RE: Orientation Support Mobile

2014-09-08 Thread Ralph DiMola
I still haven't found out how to force a rotation like Netflix. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Kerner Sent: Monday, September 08,

Re: Orientation Support Mobile

2014-09-08 Thread Devin Asay
On Sep 8, 2014, at 12:32 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 9/8/2014, 12:39 AM, Ralph DiMola wrote: 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). I thought it was the other way around and the

mobileClearTouches

2014-09-08 Thread Chris Sheffield
Is anyone using mobileClearTouches in an app (iOS)? If so, are you noticing a strange delay before the next tap is registered? In my app, after calling mobileClearTouches, I’m seeing a delay of a couple seconds or so before a tap registers again. Is there any way to fix this? Thanks, Chris

2 lines on a button?

2014-09-08 Thread larry
Hi All, I have a large button and I want the label to read either Show Instructions or Hide Instructions but I cannot figure out how to put the two words on two different lines in the label of the button. Is that possible to do? TIA Larry ___

re: 2 lines on a button

2014-09-08 Thread larry
Never Mind! I was trying to do it in the property inspector and then I realized I can just say in the script: set the label of button myInstructions to Show return Instructions so simple, but in my defense, I'm still learning! Thanks, Larry ___

Re: 2 lines on a button?

2014-09-08 Thread Mark Schonewille
Hi Larry, You can set the label of a button in the properties inspector or do this in the message box or a script: set the label of btn x to Show cr Instructions -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com

Re: 2 lines on a button

2014-09-08 Thread Mark Wieder
larry- Dang! You're getting way too fast at this! I was thinking that would probably work, but I didn't even get a chance to test it before you answered your own question. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security

Re: 2 lines on a button

2014-09-08 Thread larry
ha ha (I only wish I could be fast all the time!) - Original Message - From: Mark Wieder mwie...@ahsoftware.net To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, September 08, 2014 5:47 PM Subject: Re: 2 lines on a button larry- Dang! You're getting way too fast

Re: 2 lines on a button

2014-09-08 Thread stephen barncard
On Mon, Sep 8, 2014 at 4:43 PM, la...@significantplanet.org wrote: so simple, but in my defense, I'm still learning! we all are. New stuff every version. Like Christmas every month. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*

Simple JSON call

2014-09-08 Thread Magicgate Software - Skip Kimpel
Hey LCer's I am need to make a simple JSON call using something as simple as this: put myCommand into URL myURL The function works properly but it should also be kicking back some results that I then need to parse. The question is, how do I get the results? I have tried numerous, standard

Re: 2 lines on a button

2014-09-08 Thread Phil Davis
Larry, Another way to do it in the Property Inspector is type \n between the first and second lines of the label, like this: first line\nsecond line Regards - Phil On 9/8/14, 4:43 PM, la...@significantplanet.org wrote: Never Mind! I was trying to do it in the property inspector and then

Re: Simple JSON call

2014-09-08 Thread Michael Doub
Skip, Here is my routines that interfaces to postmark. It sends JSON in a way ,similar to the way you describe. This uses libJSON that I found on the list. Let me know off line and I can send you a copy. Regards, Mike constant APIKEY = key goes here constant API_URL =

Re: 2 lines on a button

2014-09-08 Thread larry
Thanks Phil, In many cases that will be easier! ( and I checked; you can put as many \n as the space on the button will allow: First\nSecond\nThird, etc.) Larry - Original Message - From: Phil Davis rev...@pdslabs.net To: How to use LiveCode use-livecode@lists.runrev.com Sent:

Raspberry Pi Standalone

2014-09-08 Thread Magicgate Software - Skip Kimpel
I just produced my first RPi standalone using the new Linux ARMv6-HF option found in 7.0 RC1. This is going to change everything. Fraser Gordon, you are brilliant! SKIP KIMPEL ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: 2 lines on a button?

2014-09-08 Thread Richmond
On 09/09/14 02:37, la...@significantplanet.org wrote: Hi All, I have a large button and I want the label to read either Show Instructions or Hide Instructions but I cannot figure out how to put the two words on two different lines in the label of the button. Is that possible to do? TIA Larry

Re: 2 lines on a button

2014-09-08 Thread Richmond
On 09/09/14 02:43, la...@significantplanet.org wrote: Never Mind! I was trying to do it in the property inspector and then I realized I can just say in the script: set the label of button myInstructions to Show return Instructions so simple, but in my defense, I'm still learning! Thanks,