Datagrid Column Customisation

2011-03-23 Thread Peter Haworth
I've customised a datagrid column by placing a checkbox button in it but it always appears left justified no matter what justification setting I choose for the column. How can I either center or right justify it within the column? While on the subject of datagrids, does anyone know if 4.6 incor

Re: RevIgniter is Fabulous!

2011-03-23 Thread -=>JB<=-
That looks very nice. Was everything made with Revigniter? -=>JB>= On Mar 23, 2011, at 9:53 PM, Sivakatirswami wrote: > We are redoing our www.himalayanacademy.com web site, very slowly, it will > take many moons... > and we are not rushing. > > I decided we should give RevIgniter a try. The

RevIgniter is Fabulous!

2011-03-23 Thread Sivakatirswami
We are redoing our www.himalayanacademy.com web site, very slowly, it will take many moons... and we are not rushing. I decided we should give RevIgniter a try. There was a little anxiety in the air about using something new and different that was not PHP. And since LiveCode has proven itself

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread Gerry
Thanks Jacq :) Back to libUrlDownloadToFile & urlProgress, I'm still interested to know how we stop the urlProgress being sent after we finish a download, as I think I'm still seeing something weird in relation to that. urlProgress returns "downloaded" when the download is done, but seems to co

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread J. Landman Gay
On 3/23/11 8:46 PM, Gerry wrote: Jacq Figured it out. Later in the card script I set up a scroll control, and include this line in that setup script: iphoneControlSet sScrollerId, "declerationRate", fast The compiler doesn't like that line. If I comment it out or put "fast" in quotes, everythi

Re: [OT] Post Conference Fun Stuff

2011-03-23 Thread David C.
Mass Transit? Here in rural Oklahoma, the closest thing I can think of that could be called mass transit, is when Bubba and his fifty closest relatives all get their 4WD pickup trucks fired up and pointed in the same direction going to the lake for a fish fry. ...nothing slow about it at least

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread Gerry
Jacq Figured it out. Later in the card script I set up a scroll control, and include this line in that setup script: iphoneControlSet sScrollerId, "declerationRate", fast The compiler doesn't like that line. If I comment it out or put "fast" in quotes, everything works fine. My scroll control

Re: 4.6 released

2011-03-23 Thread Andrew Kluthe
Yeah, I am just frustrated that I upgraded at 4.5 instead of waiting till 5.0 (or some version with some stunning new desktop feature) to upgrade from 4.0. I was under the impression that after purchasing 4.5 I wouldn't have to pay again for bugfixes/features in my deployments until 5. I suppose

Re: [OT] Post Conference Fun Stuff

2011-03-23 Thread Andre Garzia
don't even get me started on Rio de Janeiro Mass Transit... really On Wed, Mar 23, 2011 at 7:28 PM, Judy Perry wrote: > Sounds like San Diego's mass transit :-( > > Judy > > > On Wed, 23 Mar 2011, Scott Rossi wrote: > > Recently, Judy Perry wrote: >> >> Can you get there via mass transit? >

Re: Datagrid Column Highlighting

2011-03-23 Thread zryip theSlug
On Tue, Mar 22, 2011 at 7:51 PM, Bob Sneidar wrote: Ray, Bob > I don't think you can select an entire column. What you can do is fake it. > The Data Grid Helper by Zryip allows you to set a script that disables > sorting, but you need to make the user think a column is selected. > > Data Grid

Re: Determining which UITextField sent a message

2011-03-23 Thread MacBox
The Target was the first thing I tried :) I may have found that the answer is "you can't." I see that in the Lesson for using the UITextField the first thing they do is check that there is only one UITextField on the card, with the comment "# ensure that only one native text input is open" Bum

Re: Datagrid question

2011-03-23 Thread zryip theSlug
On Wed, Mar 23, 2011 at 8:58 PM, Klaus on-rev wrote: > Hi friends, Hi Klaus, > is it possible to create a datagrid FORM that can act like 2 or more > independant "clickable" "Cells?" (separate row "wannabees") in one row? Yes > Know what I mean? Something like this mockup: >

Re: Determining which UITextField sent a message

2011-03-23 Thread Devin Asay
On Mar 23, 2011, at 5:33 PM, mac...@earthlink.net wrote: > Is it possible, to find out which UITextField sent a message? > > It doesn't seem that the objects include their name, or ID, as a parameter > with the messages they send, so if I have 2 or more UITextFields on a card, > when I trap an

Re: Nuther sqLite gotcha

2011-03-23 Thread Bob Sneidar
I suppose if you had access to the master schema there might be something in there. I cannot tell because I am using On-Rev at the moment and don't have that kind of access. Bob On Mar 23, 2011, at 4:37 PM, Peter Haworth wrote: > OK, I knew about the SHOW CREATE TABLE command, but thought pe

Re: Nuther sqLite gotcha

2011-03-23 Thread Peter Haworth
OK, I knew about the SHOW CREATE TABLE command, but thought perhaps MySQL had the equivalent of the SQLite sqlite_master table 'table' entries. Pete Haworth On Mar 23, 2011, at 3:59 PM, Bob Sneidar wrote: > You would use SHOW CREATE TABLE devices (assuming your table was called > "devices").

Re: 4.6 released

2011-03-23 Thread Robert Brenstein
On 23.03.11 at 16:02 -0700 Bob Sneidar apparently wrote: That would not apply to me as I paid ahead for the subscription something like 3 years. If that's what you mean by clemency, then yes I am on that program. Bob Of course, the new licensing model affects only new users and users whose

Determining which UITextField sent a message

2011-03-23 Thread MacBox
Is it possible, to find out which UITextField sent a message? It doesn't seem that the objects include their name, or ID, as a parameter with the messages they send, so if I have 2 or more UITextFields on a card, when I trap an "inputReturnKey" message, is there any way to tell which field sent

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread J. Landman Gay
On 3/23/11 4:57 PM, Gerry wrote: Jacq, the button is on the card, and isn't in a group. It's bizarre, I've never heard of anything like this. If you like, send me a copy of the stack and I'll take a look. You've got me curious. -- Jacqueline Landman Gay | jac...@hyperactivesw.com

Re: 4.6 released

2011-03-23 Thread Bob Sneidar
That would not apply to me as I paid ahead for the subscription something like 3 years. If that's what you mean by clemency, then yes I am on that program. Bob On Mar 23, 2011, at 3:37 PM, Robert Brenstein wrote: > On 23.03.11 at 10:27 -0700 Bob Sneidar apparently wrote: >> Yeah sounds like a

Re: Nuther sqLite gotcha

2011-03-23 Thread Bob Sneidar
Well the issue comes into play because I am not the creator of the sqLite database, a company called Spiceworks is. I am reading their schema in order to import columns and even whole tables into my database. Bob On Mar 23, 2011, at 3:44 PM, Peter Haworth wrote: > Another thought on this tha

Re: Nuther sqLite gotcha

2011-03-23 Thread Bob Sneidar
You would use SHOW CREATE TABLE devices (assuming your table was called "devices"). For sqLite I use: put "SELECT name,sql FROM sqlite_master WHERE type='table' " into theSQL then I execute that. It's the only way I know of as sqLite does not have a SHOW CREATE TABLE context. Bob On Mar

Re: 4.6 released

2011-03-23 Thread Robert Brenstein
On 23.03.11 at 10:27 -0700 Bob Sneidar apparently wrote: Yeah sounds like a support issue to me. I wonder if there was a purchase option that did NOT include the year of free updates? If so then it would be like any other software upgrade, where you pay some fraction of the new price for a majo

Re: Nuther sqLite gotcha

2011-03-23 Thread Peter Haworth
Another thought on this that might help. The sqlite_master table has a column that holds the table name so you should be able to find the entry you need with a SELECT on column type='table' and column tbl_name=. No need to search the sql column that way. Pete Haworth On Mar 23, 2011, at 3:15

Re: Nuther sqLite gotcha

2011-03-23 Thread Peter Haworth
Hadn't noticed that. I'm pretty sure I've created all my SQLite tables through the FireFox SQLite Manager and it looks like it puts quotes around all the table names (and column names). Out of interest, where does mySQL store the SQL statements to create tables? (still finding my way around m

Re: [OT] Post Conference Fun Stuff

2011-03-23 Thread Judy Perry
Sounds like San Diego's mass transit :-( Judy On Wed, 23 Mar 2011, Scott Rossi wrote: Recently, Judy Perry wrote: Can you get there via mass transit? FYI: public transit in the SF Bay Area sucks. I can say that because I've lived here all my life. ___

Nuther sqLite gotcha

2011-03-23 Thread Bob Sneidar
Hi all. If anyone ever wants to get the SQL for creating an existing table in sqLite by querying the sqLite_master table for table entries, be aware that whoever created the table may or may not have enclosed the table name in quotes! So if you are doing a line offset to find let's say "CREAT

Re: Building for the iPhone 3G

2011-03-23 Thread Gerry
I selected 3.1.3. This tester is on iOS 4.2.1 (8C148). g -- photo site: http://gerryorkin.com On Thursday, 24 March 2011 at 8:51 AM, Colin Holgate wrote: > > On Mar 23, 2011, at 5:32 PM, Gerry wrote: > > > > Can we not build for the 3g? Or is there a setting I'm missing? > > There is a good

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread Gerry
Jacq, the button is on the card, and isn't in a group. g -- photo site: http://gerryorkin.com On Thursday, 24 March 2011 at 8:32 AM, J. Landman Gay wrote: > On 3/23/11 4:41 AM, Gerry wrote: > > This is the script that calls the handler: > > > > on mouseup > > set the blendLevel of me to "10" >

Re: Building for the iPhone 3G

2011-03-23 Thread Colin Holgate
On Mar 23, 2011, at 5:32 PM, Gerry wrote: > >Can we not build for the 3g? Or is there a setting I'm missing? There is a good chance that LC is just building for ARM7 and not ARM6, but also, what OS did you select? If it was 4.3 then that would rule out 3G too. ___

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread J. Landman Gay
On 3/23/11 4:41 AM, Gerry wrote: This is the script that calls the handler: on mouseup set the blendLevel of me to "10" updateSongsList end mouseup Where is the button located? On the card? In a group? This is the handler that it calls (I've 'd out some domain details): on updateSongsL

Building for the iPhone 3G

2011-03-23 Thread Gerry
I'm using the wonderful service at testflightapp.com to distribute iOS builds to a few testers. One has an iPhone 3g, and when trying to register his device he gets the message "Give your developers some time to create a build for this iPhone 3g. Testflight will e-mail you when they have." Can

Datagrid question

2011-03-23 Thread Klaus on-rev
Hi friends, is it possible to create a datagrid FORM that can act like 2 or more independant "clickable" "Cells?" (separate row "wannabees") in one row? Know what I mean? Something like this mockup: Any hints, tricks, hacks welcome :-) Best Kla

Re: CR vs LF in files - how to keep original chars when importing

2011-03-23 Thread stephen barncard
the salient point being that when you open a file for read BINARY, you get exactly what's in the file, and Livecode does not interpret your line endings. Otherwise line endings in text reads get changed to whatever platform the user is using. On 23 March 2011 12:23, Mark Schonewille wrote: > Metr

Re: CR vs LF in files - how to keep original chars when importing

2011-03-23 Thread Metro
Thanks Mark, I will give that a try! m On Wed, Mar 23, 2011 at 12:23 PM, Mark Schonewille wrote: > Metro, > > function readFile theFile >  open file theFile for binary read >  read from file theFile until EOF >  close file theFile >  return it > end readFile > > function readFile2 theFile >  ret

Re: CR vs LF in files - how to keep original chars when importing

2011-03-23 Thread Mark Schonewille
Metro, function readFile theFile open file theFile for binary read read from file theFile until EOF close file theFile return it end readFile function readFile2 theFile return url ("binfile:" & theFile) end readFile2 Mind the parentheses in the second example. -- Best regards, Mark S

Re: use-livecode Digest, Vol 90, Issue 41

2011-03-23 Thread edward cawley
Ask and you will receive! I sent this on the 22, Loaded 4.6 today and my problems are solved. When I indicate the folder of my text,image,audio file in the standalone setup all the files are loaded directly. In the Mac OS, Windows and the iPad IOS. Not only that but all of them are accessed fro

CR vs LF in files - how to keep original chars when importing

2011-03-23 Thread Metro
Hi: What is the recommended way of importing text files in which CRs are used as record delimiters and LFs are used as cell delimiters within each paragraph? I'm using Mac 10.5 and LiveCode 4.5 (upgrading to 4.6 later today)? Both of these, CR and LF, are getting turned into LFs when I bring them

Re: [OT] Forget iOS and Android

2011-03-23 Thread Richmond
On 03/23/2011 08:14 PM, Scott Rossi wrote: IMO, we need to stop all this iOS and Android nonsense, and start developing apps where the REAL money is: the Brother IntelliFax 2800. RunRev guys, when can we expect a LiveCode release for Brother IntelliFa

Re: nother newbie question this time re foundChunk

2011-03-23 Thread Timothy Miller
Tricky! I never would have thought of that. Thanks a bunch. Tim On Mar 23, 2011, at 2:51 AM, Mike Bonner wrote: > If you know the number of words in the field: > put the number of words in field "narrative" into tWords > > and you know the location of the found word: > put the number

[OT] Forget iOS and Android

2011-03-23 Thread Scott Rossi
IMO, we need to stop all this iOS and Android nonsense, and start developing apps where the REAL money is: the Brother IntelliFax 2800. RunRev guys, when can we expect a LiveCode release for Brother IntelliFax 2800??? Regards, Scott Rossi Creative Dir

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
Hi John, Thanks for the response and proof of concept that defining the target stack and current stack's window explicitly seems to allow navigation from a revlet substack to the main stack. Unfortunately, I can't repeat your success in my particular stack - so perhaps I just have a corruption s

Re: 4.6 released

2011-03-23 Thread Bob Sneidar
Yeah sounds like a support issue to me. I wonder if there was a purchase option that did NOT include the year of free updates? If so then it would be like any other software upgrade, where you pay some fraction of the new price for a major release update. I was one of the people who signed up

Re: 4.6 released

2011-03-23 Thread Kevin Miller
On 23/03/2011 17:12, "John Allijn" wrote: > I have the same that Andrew mentiones: bought livecode in december and I am > now confronted with three updates (livecode, mac deployment, iOS deployment) > I did login to my useraccount, but the update is indeed a paid one. It is a paid upgrade, the f

Re: 4.6 released

2011-03-23 Thread John Allijn
Hi Bob, I have the same that Andrew mentiones: bought livecode in december and I am now confronted with three updates (livecode, mac deployment, iOS deployment) I did login to my useraccount, but the update is indeed a paid one. Best regards, John Send from my iPhone On Mar 23, 2011, at 17:31,

Re: Question about char and typing excercise

2011-03-23 Thread dunbarx
Hi. Do you get a compile error or does the script just not work? The code snippet is not enough for me to figure out what might not be compiling if that is the issue. You might have a missing line break character (\) after the "if" line. You can condense your code quite a bit, but don't worry

RE: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread John Dixon
Keith... I made a stack 'main' with sub-stack 'sub' placed a button on each stack... In the button on stack 'main'... on mouseUp go stack "sub" in the window of stack "main" end mouseUp In the button on stack 'sub' on mouseUp go stack "main" in the window of stack "sub" end mouseUp The

Re: 4.6 released

2011-03-23 Thread Bob Sneidar
That's odd. You should have a 1 year upgrade at least. Better contact support. BTW did you log in with your runrev account credentials before trying to download it? Bob On Mar 23, 2011, at 9:25 AM, Andrew Kluthe wrote: > After reading the email I got from runrev, I went to go download and the

Re: 4.6 released

2011-03-23 Thread Andrew Kluthe
After reading the email I got from runrev, I went to go download and they asked for some upgrade fees. Pfft. I just bought 4.5 in Jan. Try soliciting me again when 5.0 comes out with something fresh. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/4-6-released-tp33

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
After further research, I discover that the current browser plugin requires revlet stacks to be the same size. So, there is no way to mock-up web page pop-up dialogue boxes or lightbox effects other than to create full-size pages with dark backgrounds - much as when using PowerPoint/Keynote, etc

Re: [OT] Post Conference Fun Stuff

2011-03-23 Thread stephen barncard
Compared to what? France? Correction: The public transit in OTHER Bay area places than San Francisco proper. suck. They really try here in the city with 5 means of public transit and pretty good coverage, but such a thing is tough with tough unions on one side and dwindling money to pay for it. Bu

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
...oh, you had me hoping for a quick fix then - never mind ;-) On 23 Mar 2011, at 15:18, Joe Lewis Wilkins wrote: > Ooops! I didn't pick up that you're working with revlets. Sorry, mine are > just ordinary LiveCode stacks. The syntax for mine is so very simple: > recognize the stack to which yo

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Joe Lewis Wilkins
Ooops! I didn't pick up that you're working with revlets. Sorry, mine are just ordinary LiveCode stacks. The syntax for mine is so very simple: recognize the stack to which you wish to return and "push this cd"; when you're ready to return to that stack, regardless of where you may have gone in

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
Hi Joe, Thanks for the suggestion, but I don't seem to be able to pop a card that's in a different stack - but maybe I just have my syntax wrong. Any chance you could provide an example line of code that you know successfully pops a revlet's main-stack card from a script on a substack object? Tha

Question about char and typing excercise

2011-03-23 Thread William de Smet
Hi there, I am making a little two letter word - typing excercise and that works fine.  if vArr = 97 then if char 1 of fld "Word" is "a" then delete the first char of fld "Word" end if end if etc, etc ... For a variation of this excercise I want NOT to delete the letter but turn

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Joe Lewis Wilkins
I've had success moving between several stacks, main and sub just using the "push card" and "pop card" commands at appropriate times. Doesn't matter what the IDs or names are. Try it; you'll like it. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Mar 23, 2011,

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
Hi Mark, Thanks for the response and suggestions. According to the documentation, windowID generated by the underlying OS, applied to each new application window opened. So, opening a substack using 'go stack "" in the window of this stack' is the equivalent of opening a new web page in the sa

RE: Datagrid Column Highlighting

2011-03-23 Thread Ray Horsley
Bob, Much thanks for making me aware of this supplement! Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Tuesday, March 22, 2011 2:52 PM To: How to use LiveCode Subject: Re: Datagrid Column H

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Mark Schonewille
Hi Keith, I don't know whether the ownership of the window actually changes, when you go to the substack. What happens if you try go stack "Name of mainstack" in the window of stack "Name of mainstack" (This might be completely wrong, but if everything else fails, just give it a try). You'd h

Re: Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
OK, it seems that within a revlet, navigation from main stack to substack and between substacks works fine using... on mouseUp go to stack "" in the window of this stack end mouseUp Getting back to the main stack as the revlet's 'home page' seems more difficult (at least, I can't solve it).

Revlet - how to get back to the main stack from a substack?

2011-03-23 Thread Keith Clarke
Hi Folks, I'm using 'go to stack "substack" in the window of me' to navigate to substacks in a revlet but can't seem to find a suitable script for a 'close' button on the substack to return to the main stack. The following lines are ignored: 'go to stack "" in the window of me' 'go to stack ""'

Re: On-Rev file path

2011-03-23 Thread -=>JB<=-
I tested this and it works using my actual account name. http://www.jayb.on-rev.com/mydomain.net/wheramifile.php thank you very much for the detailed info. -=>JB<=- On Mar 23, 2011, at 3:35 AM, -=>JB wrote: > Thank you for explaining it in detail for me. In your reply the directory > path

Re: Stand-alone issues: lost images and go to (sub) stack scripts fail

2011-03-23 Thread Keith Clarke
Solved! After a bit of digging I discovered this forum topic http://forums.runrev.com/viewtopic.php?f=18&t=4580 which discusses the revlet limitation on opening substacks. Changing my script to include the suffix 'in the window of this stack' solved the problem. So, my navigation scripts now lo

Re: On-Rev file path

2011-03-23 Thread -=>JB<=-
Thank you for explaining it in detail for me. In your reply the directory path that is closest to my situation you provided is include "/home/jayb/indirectlyaccessiblelibraries/mydblibrary.irev" What I am trying to do is move a folder out of public_html and then provide the proper path to it so

Re: [OT] Post Conference Fun Stuff

2011-03-23 Thread Scott Rossi
Recently, Judy Perry wrote: > Can you get there via mass transit? FYI: public transit in the SF Bay Area sucks. I can say that because I've lived here all my life. That said, if it comes down to it, getting to the Computer History Museum (and almost anywhere else) via public transit is possible

Re: nother newbie question this time re foundChunk

2011-03-23 Thread Mike Bonner
If you know the number of words in the field: put the number of words in field "narrative" into tWords and you know the location of the found word: put the number of words in (char 1 to (word 4 of tfound)) in field "narrative" into tFoundWord -- didn't try it, check syntax then you shou

Re: Weird script behaviour (was libUrlDownloadToFile & urlProgress)

2011-03-23 Thread Gerry
This is the script that calls the handler: on mouseup set the blendLevel of me to "10" updateSongsList end mouseup This is the handler that it calls (I've 'd out some domain details): on updateSongsList local songsOnDevice, songListOnServer play empty hide button "stopButton" put "Checking f

Re: Stand-alone issues: lost images and go to (sub) stack scripts fail

2011-03-23 Thread Keith Clarke
Hi Jaque, Thanks for response. I'm not sure that paths were the problem, though using your suggestions I did discover that the LiveCode standalone builder doesn't like files on DropBox! Anyway, the image problem is now solved but I'm not being so lucky with moving between substacks in the revlet

Re: On-Rev file path

2011-03-23 Thread Mike Bonner
as jim said, anything in public_html and down is accessible from your browser, with public_html being the root. So say you had a file fred.html there, it would be http://yourdomain.wheveritsat.com/fred.html In the case of on-rev, your addon domains are mapped to a folder when you set them up so th

file names in 'do as applescript'

2011-03-23 Thread ron barber
Greetings from Japan I am using the following to save files from my application: put "untitled.txt" into fname get "choose file name with prompt ""e& " ""e&" default name"&"e&fname"e do it as applescript When the save file dialog is presented some users are, naturally, using Japanese character