Re: LiveCode mySQL calls and iOs?

2011-07-08 Thread Gerry Orkin
John MySQL is supported in LC on iOS. However tapping in to MySQL databases from mobile devices introduces a bunch of access and security issues, so rather than using the MySQL commands I use .php files on my MySQL server to do my SELECTs and INSERTs. I run them from my iOS app using url http c

Re: Using groups as custom dialogs: a solution for Mac, PC and iOS

2011-07-08 Thread Chipp Walters
I updated the sheet stack to make it more usable and posted it at a different URL. Now, it's streamlined and does some rather nice things. First off, it does a nice sheet "scroll down" animation, plus it adds a transparent bg button which won't allow for clicks outside the sheet (and of course del

Re: Using groups as custom dialogs: a solution for Mac, PC and iOS

2011-07-08 Thread Chipp Walters
Cool, Dick! How would one pass quoted vars to that thing? On Sat, Jul 9, 2011 at 12:54 AM, Dick Kriesel wrote: > On Jul 8, 2011, at 4:17 PM, Chipp Walters wrote: > > > on mouseUp > > start using stack "altAnswerColor" > > get altAnswerColor() > > set the backcolor of grc "test" to it > >

Re: Using groups as custom dialogs: a solution for Mac, PC and iOS

2011-07-08 Thread Dick Kriesel
On Jul 8, 2011, at 4:17 PM, Chipp Walters wrote: > on mouseUp > start using stack "altAnswerColor" > get altAnswerColor() > set the backcolor of grc "test" to it > stop using stack "altAnswerColor" > end mouseUp > > Sure, two extra lines, Want to use fewer lines, Chipp? How about this?

LiveCode mySQL calls and iOs?

2011-07-08 Thread JOHN PATTEN
Hi All! I have a little stack I'm testing some ideas out on. It makes some simple SELECT and INSERT mySQL queries using the LiveCode calls. It is my understanding that those LiveCode mySQL calls do not work in iOS. Is it possible to to still access a mySQL database from with in iOS (in LiveC

Re: Using groups as custom dialogs: a solution for Mac, PC and iOS

2011-07-08 Thread J. Landman Gay
On 7/8/11 6:17 PM, Chipp Walters wrote: When altChooseThink() sees... I need that one. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing l

Using groups as custom dialogs: a solution for Mac, PC and iOS

2011-07-08 Thread Chipp Walters
Mega PROPS goes to Scott Rossi for this. Turns out his technique "wait with messages" works quite well, on both Mac and PC. And this should work especially well on iOS where you cannot have a modal dialog window except for those standard ask and answer ones. It works for me where I have projects wh

Re: color histogram?

2011-07-08 Thread Chipp Walters
Hi Wilhelm, Yes, I do remember your generous attributions and thank you for them-- but your work went well beyond anything I had done and it has been a great contribution to our community. Much thanks for that! Also, thank-you for your fine assessment of the issue and when I have time, I will tr

Re: color histogram?

2011-07-08 Thread Wilhelm Sanke
On Fri Jul 8, 2011, Jim Ault jimaultwins at yahoo.com wrote: On Jul 7, 2011, at 11:08 PM, Chipp Walters wrote: > Hey guys, I'm building another education app for a state school > system, and > this time I'm creating a skinnable themed desktop, which kids can > add their > own wallpaper to. I'm

Re: answer file filter

2011-07-08 Thread Bob Sneidar
Tricky way to get more Google hits!! Bob On Jul 8, 2011, at 2:58 PM, Pierre Sahores wrote: > the correct address is > > http://www.frederikseiffert.de/filetype/ > > Thanks for the Moly Revenge link ;-) > > > Le 8 juil. 2011 à 22:17, Pete a écrit : > >> Thanks Pierre, I will get that. >> P

Re: answer file filter

2011-07-08 Thread Pierre Sahores
the correct address is http://www.frederikseiffert.de/filetype/ Thanks for the Moly Revenge link ;-) Le 8 juil. 2011 à 22:17, Pete a écrit : > Thanks Pierre, I will get that. > Pete > Molly's Revenge > > > > > On Fri, Jul 8, 2011 at 1:01 PM, Pierre Sahores

Re: defining and using globals in an application

2011-07-08 Thread Bob Sneidar
You should write a Livecode article on it. It's very useful information, and helps people grasp one of the stickier concepts for new users of Livecode, especially pointing out that there are no namespaces, but that there are fixed scopes like global and local. I had some experience with Foxpro

Question for Trevor DeVore

2011-07-08 Thread Pete
Trevor, Looking at the dg properties for a column, it appears there is an array for each property, keyed by column name - eg set the dgColumnIsVisible["Col1"] of to true. Do you foresee any undesirable side effects from storing other, custom, column properties within the datagrid in the same wa

Re: defining and using globals in an application

2011-07-08 Thread Mark Wieder
Bob- Friday, July 8, 2011, 9:50:22 AM, you wrote: > Yes, I saw namespace in the wiki. Are you saying that declaring a > variable to be local or global is in fact referring to a namespace? > In that case I am using the wrong term when I call it scope. Well, we don't have actual namespaces (yet)

Re: defining and using globals in an application

2011-07-08 Thread Mark Wieder
Bob- Friday, July 8, 2011, 9:46:18 AM, you wrote: > Ic. Well if it worked that way, then there would be no point in > declaring it's scope (forgive me if that is not the right term) to > begin with, as all variables would only have one "scope" that being > global. Maybe I'm not getting it. No, I

Re: answer file filter

2011-07-08 Thread Pete
Thanks Pierre, I will get that. Pete Molly's Revenge On Fri, Jul 8, 2011 at 1:01 PM, Pierre Sahores wrote: > Hi Pete, > > Get the "FileType" free soft from http://www.frederikseiffert.de/filetype/to > the needed info ;-) > > Best, > > Le 8 juil. 2011 à 20:10, P

Re: answer file filter

2011-07-08 Thread Klaus on-rev
Hi Pete, Am 08.07.2011 um 20:10 schrieb Pete: > Thanks Klaus, didn't know about "the long files". Actually, I think the > code I'm looking for is RSTK - I think "Revo" is the creator code. Ah, yes, sorry, mixed it :-) > Pete Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev

Re: answer file filter

2011-07-08 Thread Pierre Sahores
Hi Pete, Get the "FileType" free soft from http://www.frederikseiffert.de/filetype/ to the needed info ;-) Best, Le 8 juil. 2011 à 20:10, Pete a écrit : > Thanks Klaus, didn't know about "the long files". Actually, I think the > code I'm looking for is RSTK - I think "Revo" is the creator cod

Re: defining and using globals in an application

2011-07-08 Thread Andre Garzia
Folks, I don't really know what the thread is about but since we're talking about globals, I decided to share my own methodology regarding them. I use globals in some stacks, specially the ones that are not plugins or tools that will be used elsewhere. In my little app stacks, I tend to use globa

Re: defining and using globals in an application

2011-07-08 Thread Jim Ault
On Jul 8, 2011, at 9:46 AM, Bob Sneidar wrote: Ic. Well if it worked that way, then there would be no point in declaring it's scope (forgive me if that is not the right term) to begin with, as all variables would only have one "scope" that being global. Maybe I'm not getting it. Bob Her

Re: answer file filter

2011-07-08 Thread Pete
Thanks Klaus, didn't know about "the long files". Actually, I think the code I'm looking for is RSTK - I think "Revo" is the creator code. Pete Molly's Revenge On Fri, Jul 8, 2011 at 10:34 AM, Klaus on-rev wrote: > Hi Pete, > > Am 08.07.2011 um 19:30 schrieb Pet

Re: answer file filter

2011-07-08 Thread Klaus on-rev
Hi Pete, Am 08.07.2011 um 19:30 schrieb Pete: > What is the 4-character OS X file type of LC stack files (for use in the > answer file dialog)? "the long files" tell me: Revo ... cp_test.rev,866,286,1218822737,1218823007,1309956285,0,502,80,644,RevoRSTK xmlandarrays.rev,14457,286,1301151956,130

answer file filter

2011-07-08 Thread Pete
What is the 4-character OS X file type of LC stack files (for use in the answer file dialog)? Pete Molly's Revenge ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe a

Re: defining and using globals in an application

2011-07-08 Thread Bob Sneidar
Yes, I saw namespace in the wiki. Are you saying that declaring a variable to be local or global is in fact referring to a namespace? In that case I am using the wrong term when I call it scope. Bob On Jul 8, 2011, at 4:45 AM, Jim Ault wrote: > > On Jul 7, 2011, at 9:11 AM, Bob Sneidar wrot

Re: defining and using globals in an application

2011-07-08 Thread Bob Sneidar
Ic. Well if it worked that way, then there would be no point in declaring it's scope (forgive me if that is not the right term) to begin with, as all variables would only have one "scope" that being global. Maybe I'm not getting it. Bob On Jul 7, 2011, at 5:52 PM, Mark Wieder wrote: > Bob- >

Re: Finding the main stack

2011-07-08 Thread Pete
I see what you mean about the target, confusion on my part. And thanks for the main(), definitely saves on typing. Pete Molly's Revenge On Thu, Jul 7, 2011 at 10:02 PM, J. Landman Gay wrote: > On 7/7/11 10:44 PM, Pete wrote: > >> I'm beginning to think the sam

[OT] Floods in Edinburgh

2011-07-08 Thread Richmond Mathewson
I do hope all the people and equipment at the RunRev offices have weathered the floods with nothing more than wet feet. with all my best wishes, Richmond Mathewson. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to s

Tile based image scrolling

2011-07-08 Thread Alejandro Tejada
Hi All, Before reinventing the wheel, Does exists an implementation of Tile based image scrolling in this platform? Thanks in advance! Al ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and m

Re: Using linkText

2011-07-08 Thread Pete
Thanks Peter, that will be useful. Pete Molly's Revenge > > Here's what I have in one of my fields, where I am creating links from time > to time: > > on mouseup > -- select the text you want to turn into a link > -- then control-click the selectedText > --

LiveCode.tv event #31

2011-07-08 Thread Björnke von Gierke
Hello! This Saturday Mark Schoenewille invites you to view the presentations (as I'm away tomorrow). Please mail him or me so wen can talk about a date where you do a presentation. We will hook you up with a topic too, if you want, some examples here: http://blog.livecode.tv/participate/ As us

Re: Using linkText

2011-07-08 Thread Peter Brigham MD
On Jul 7, 2011, at 6:17 PM, Ken Ray wrote: > > On Jul 7, 2011, at 4:14 PM, Pete wrote: > >> Thanks, hadn't noticed that. But it just seems to make the text a link or >> not, no way to specify what the link should be. >> >> Maybe I'm misunderstanding the purpose of linkText. What I want to do

Re: defining and using globals in an application

2011-07-08 Thread Jim Ault
On Jul 7, 2011, at 9:11 AM, Bob Sneidar wrote: I don't think it's a bug IMHO. How can a variable in the same script have 2 scopes? How would the app know which you were talking about when you used it? Bob I think you should consider the word 'namespace'. This means objects, processe

Re: Using groups as dialogs..

2011-07-08 Thread Chipp Walters
Wow. Didn't know that. Thanks, I'll check it out on PC. On Fri, Jul 8, 2011 at 4:41 AM, Scott Rossi wrote: > Recently, Chipp Walters wrote: > > > I'd like to have an easy way to be able to use a group 'dialog box' > inside a > > script and of course could not use a wait until mouseclick() or oth

Re: Using groups as dialogs..

2011-07-08 Thread Scott Rossi
Recently, Chipp Walters wrote: > I'd like to have an easy way to be able to use a group 'dialog box' inside a > script and of course could not use a wait until mouseclick() or other cycle > stealing technique. I'd be interested to know if anyone has figured out how > to do this. In my experience,

Re: color histogram?

2011-07-08 Thread Chipp Walters
Thanks Jim. That is a blast from the past. In fact, I'm pretty sure I wrote the first convolve matrix which Wilhelm used for his earlier work. I wrote it to create blurred shadows for ButtonGaget and to help with some image compositing. I suspect I'll have to write my own imagedata parser and do t

Re: color histogram?

2011-07-08 Thread Jim Ault
On Jul 7, 2011, at 11:08 PM, Chipp Walters wrote: Hey guys, I'm building another education app for a state school system, and this time I'm creating a skinnable themed desktop, which kids can add their own wallpaper to. I'm wondering if anyone has a quick routine to calculate the 'main' col

Using groups as dialogs..

2011-07-08 Thread Chipp Walters
I, for sometime now, would like to be able to use groups as dialogs. This would work well for iOS in particular where dialog windows really don't work. With groups, they could navigate down as sheets and there's lot's of neat effects which can be applied. As many of you, I typically use stacks as