Re: Making data plots

2014-09-07 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-07 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 creat

Re: Making data plots

2014-09-07 Thread Geoff Canyon
On Sun, Sep 7, 2014 at 3:49 PM, William Prothero 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 actual circumstances.

Re: Orientation Support Mobile

2014-09-07 Thread Ralph DiMola
Mobile Orientation change cookbook: 1. Device is flipped.  2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). 2. In the resizestack handler reposition your controls.  3. During this message no screen updates are done.  4. The user will see th

Calling Andre Garzia

2014-09-07 Thread Simon
Hi Andre, There is some guy not very happy with you here: http://forums.livecode.com/viewtopic.php?f=31&t=21499 If any can pass this along directly to Andre I'm sure he'll appreciated clearing up his good name. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.

Re: Orientation Support Mobile

2014-09-07 Thread Mike Kerner
Well, for starters: 1) You can't seem to force LC to render a card in one orientation or the other and then understand what you're forcing it to do. There doesn't seem to be a command to do it. MobileSetAllowedOrientations doesn't help. So if you support P and L, but certain cards are one way an

Re: Orientation Support Mobile

2014-09-07 Thread Colin Holgate
I have used landscape and portrait in the same app outside of LiveCode, and certainly ran into issues. I think that in LiveCode you would want to enable all orientations, then listen for the orientationChanged message. Then, in theory, you could react accordingly. Can you go into more detail ab

Orientation Support Mobile

2014-09-07 Thread Mike Kerner
Is anybody buildng projects that swing both ways on mobile? MG used to support doing that, but now it doesn't. I've been trying to make it work, but I'm running into all sorts of issues. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the

Re: Making data plots

2014-09-07 Thread dunbarx
Hi. Would the "copy" command be useful to you? You can designate a group as the target. Craig Newman -Original Message- From: William Prothero To: Use-livecode Use-livecode Sent: Sun, Sep 7, 2014 4:50 pm Subject: Making data plots Folks: I’ve been working on an app that plots va

Re: anyone have a Samsung Galaxy Note 3?

2014-09-07 Thread Colin Holgate
Thanks. That would have been a bit too far to walk. Our client is going to let it go for now, seeing as it only seems to be one device with that particular problem. We’ll no doubt have to fix whatever it is that’s wrong, if anyone out there sees the same issue. I’m not too worried, the feature

Re: Making data plots

2014-09-07 Thread Mark Schonewille
Hi Bill, The dictionary entry about the create command contains the in group clause. Example: create button "New Button" in group "Old Group" put it into myLongID When you delete the group, all its objects are also deleted. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and So

Re: Making data plots

2014-09-07 Thread J. Landman Gay
On 9/7/2014, 3:49 PM, William Prothero wrote: The dictionary has some entries on creating groups, but I can’t find anything about adding a single object to a group. I want to do this so that each time an element of the plot is created, it is added to the group. That way, I don’t have to keep trac

Re: preOpenStack

2014-09-07 Thread J. Landman Gay
On 9/7/2014, 3:55 PM, William Prothero wrote: I understand that if a stack is opened, then the preOpenStack handler is triggered (it is in the first card), but if I go to another card on the same stack with a different preOpenStack handler on it, I would assume the preOpenStack handler wouldn’t g

Re: anyone have a Samsung Galaxy Note 3?

2014-09-07 Thread Dr. Hawkins
On Thu, Sep 4, 2014 at 10:09 AM, Colin Holgate wrote: > Thanks, if that conference is also in the San Diego Hyatt I could come > over… > 'twas the Las Vegas Four Seasons . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing l

Re: preOpenStack

2014-09-07 Thread William Prothero
Richard, sorry for not being more clear. I understand that if a stack is opened, then the preOpenStack handler is triggered (it is in the first card), but if I go to another card on the same stack with a different preOpenStack handler on it, I would assume the preOpenStack handler wouldn’t get

Making data plots

2014-09-07 Thread William Prothero
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 a snapshot of the graphic and then delete the objects that I used to create the plot. So far, as a beginni

Re: preOpenStack

2014-09-07 Thread Richard Gaskin
William Prothero wrote: > Richard: > Tnx for the comments, all. > Just to check my understanding of this issue: > > So, the “on preopenstack” message, in a card script, will only get > triggered once, when the stack is opened? It won’t get triggered when > you go to another card with an “on preOpe

An interesting comparison with web development

2014-09-07 Thread Geoff Canyon
http://chromakode.com/post/notes-on-xkcd-pixels That's a description of how XKCD's "Pixels" panel was developed using HTML 5 in three days. I wonder how long it would take in LiveCode. The basic parameters are: 1. Black and white 600x600 image, zoomable. 2. The zoom m

Re: preOpenStack

2014-09-07 Thread William Prothero
Richard: Tnx for the comments, all. Just to check my understanding of this issue: So, the “on preopenstack” message, in a card script, will only get triggered once, when the stack is opened? It won’t get triggered when you go to another card with an “on preOpenStack” handler?? Bill On Sep 7,

Re: [OT] Mark Weider ... Check your spam filter

2014-09-07 Thread Mark Wieder
Roger Eller writes: > > Sorry folks... Mark, I sent you an off-list email yesterday and this > morning. Please look for it in your spam folder if you didn't see it. No worries, Roger. I'm still on the road and using gmane for list access, but should be back tonight. I'll check my email when I

Re: preOpenStack

2014-09-07 Thread Richard Gaskin
Terence Heaford wrote: > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn’t find where it says > do not put it in the stack script. > The dictionary just says the message is sent to the destination card > when you open a stack. Whether

[OT] Mark Weider ... Check your spam filter

2014-09-07 Thread Roger Eller
Sorry folks... Mark, I sent you an off-list email yesterday and this morning. Please look for it in your spam folder if you didn't see it. Thanks. ~Roger Sent from my Android tablet ___ use-livecode mailing list use-livecode@lists.runrev.com Please vi

Re: How To: Manage columns of data (was Re: How To: Delete columns of data

2014-09-07 Thread Jim Lambert
This conversation has veered far from LiveCode. The wise advice generously proffered does not seem to have landed. So, I second PeterH’s suggestion that this thread move to a more appropriate venue. Jim Lambert ___ use-livecode mailing list use-livecode

Re: preOpenStack

2014-09-07 Thread Bill Vlahos
I encourage everyone who would like the notes to be updated to do so yourself by adding comments to the dictionary items. This is a great feature of the documentation. Just scroll all the way down on a dictionary entry. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is abo

RE: Presentation slides and extras

2014-09-07 Thread Ralph DiMola
Here is the link for the presentation material http://www.evergreeninfo.on-rev.com/rrlive/14/GettingYourAppToTheStore_Ralph_DiMola.zip Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@li

Re: preOpenStack

2014-09-07 Thread Peter M. Brigham
You really have to understand the message path for this kind of thing to be clear. If you master the way messages get sent, passed, and handled, then it's actually obvious. If you don't know the message path, it seems counterintuitive. Knowing the message path backwards and forwards to the point

[ANN] Installer Maker 1.8.7 for LiveCode (standalone)

2014-09-07 Thread Mark Schonewille
Hi everyone, I have now also updated the standalone version of Installer Maker. A list of bug fixes and new features can be found at http://installermaker.economy-x-talk.com An important new feature is the list of folder locations available on Windows PC's. Installer Maker 1.8.7 also feature

Re: preOpenStack

2014-09-07 Thread Dave Kilroy
I guess it's part of flexibility of LiveCode where you can have things like 'mouseup' handlers in a group, field, card or stack - but for sure the dictionary could be tweaked to make things clearer... - "Some are born coders, some achieve coding, and some have coding thrust upon them." - Wi

Re: preOpenStack

2014-09-07 Thread dunbarx
It actually is a bit counterintuitive that a card can receive a preOpenStack message. After all, the whole (ostensible) idea is that "preOpenstack" is sent before the stack opens, so how could there even be a card to send that message to. It is all mainly a matter of drawing, though, not what

Re: preOpenStack

2014-09-07 Thread Mark Wieder
Earthednet-wp writes: > > Mark, > Ok, you answered my concern. I guess it's another item to add to the dictionary somehow. Yeah, it's just one of those things that you learn along the way. It's only intuitive in hindsight. -- Mark Wieder ahsoftw...@gmail.com

Re: preOpenStack

2014-09-07 Thread Earthednet-wp
Mark, Ok, you answered my concern. I guess it's another item to add to the dictionary somehow. Bill William Prothero http://es.earthednet.org > On Sep 7, 2014, at 8:22 AM, Mark Wieder wrote: > > Terence Heaford writes: > >> Putting it in the card script does seem to be the answer. >> >> Had

Re: preOpenStack

2014-09-07 Thread Mark Wieder
Terence Heaford writes: > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn’t find where it says do not put it in the stack script. > The dictionary just says the message is sent to the destination card when you open a stack. As you yo

Re: preOpenStack

2014-09-07 Thread Earthednet-wp
Terence, Interesting, but it seems counter-intuitive to have a handler that references the stack being required to be on a card script. Which card? I assume it's the card that first opens in the stack? Bill William Prothero http://es.earthednet.org > On Sep 7, 2014, at 12:02 AM, Terence Heaford

Re: Russian submarine

2014-09-07 Thread Dr. Hawkins
On Sat, Sep 6, 2014 at 5:22 PM, Mark Wieder wrote: > Yeah, I tried that in Las Vegas a few conferences ago, and it just can't be > done, even though it's a straight shot on the map. > While I was in exile in Pennsylvania and came here/home (LV) for a conference a few years, I walked from the air

Re: [ANN] Installer Maker 1.8.7 for LiveCode

2014-09-07 Thread Mark Schonewille
Thanks for the reply, David. I noticed later that there is an http too many. I'll make another announcement soon and then I'll post a correct link. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com

Re: [ANN] Installer Maker 1.8.7 for LiveCode

2014-09-07 Thread Dave Kilroy
Mark the link you put up didn't resolve - try this one instead http://rrinstallermaker.economy-x-talk.com/ - "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.2

Re: preOpenStack

2014-09-07 Thread Terence Heaford
Thanks for your reply. Putting it in the card script does seem to be the answer. Had a quick look in the dictionary and I couldn’t find where it says do not put it in the stack script. The dictionary just says the message is sent to the destination card when you open a stack. It may be in some

Re: preOpenStack

2014-09-07 Thread Terence Heaford
Thanks for your reply. Putting it in the card script does seem to be the answer. Had a quick look in the dictionary and I couldn’t find where it says do not put it in the stack script. The dictionary just says the message is sent to the destination card when you open a stack. It may be in some