Re: best data format

2011-03-28 Thread Todd Geist
Thanks again, great comments. In my case the data only lives on the server, so I want it to disappear when the app quits. I like Trevor's idea of using sub stacks. This makes a lot of sense. Heck you even use cards to store the data, although I think arrays are probably better. Looking forward

Re: best data format

2011-03-28 Thread Trevor DeVore
On Mon, Mar 28, 2011 at 10:39 PM, Todd Geist wrote: > Where is a good place to stick all this data? custom Props on substack? > > I am going to try to mimc some of the things I like about the web > frameworks > I have used lately. I am not sure if this will be possible but I am hoping > to creat

Re: best data format

2011-03-28 Thread Peter Haworth
There's a gotcha with storing data in custom properties (or any LC objects for that matter) if you plan to build a standalone version of your program. Everything works fine in the IDE but in the standalone whatever you store won't survive when you quit the program. There are various ways aroun

Re: best data format

2011-03-28 Thread Kee Nethery
On Mar 28, 2011, at 7:39 PM, Todd Geist wrote: > thanks guys. > > Now a couple of follow up questions. > > Where is a good place to stick all this data? custom Props on substack? It depends upon how quickly it changes. If it changes infrequently, I'll pull it and store it in a field along wi

Re: best data format

2011-03-28 Thread Todd Geist
thanks guys. Now a couple of follow up questions. Where is a good place to stick all this data? custom Props on substack? I am going to try to mimc some of the things I like about the web frameworks I have used lately. I am not sure if this will be possible but I am hoping to create some kind

Re: Problem with editing a field in a datagrid

2011-03-28 Thread Peter Haworth
Thanks Trevor, I can figure it out from there. Pete Haworth On Mar 28, 2011, at 6:08 PM, Trevor DeVore wrote: > On Mon, Mar 28, 2011 at 2:40 PM, Peter Haworth wrote: > >> When I double click on the column to edit it, the editor field contains the >> truncated text, not the complete text so when

Re: best data format

2011-03-28 Thread Trevor DeVore
On Mon, Mar 28, 2011 at 8:09 PM, Todd Geist wrote: > My question is what is the best format to use as my "local" copy of the > data? I > > Should I just leave it as XML, or TAB, or should I convert it to an array? > I agree with Kee. The format I prefer is arrays since I can store any type of dat

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Peter Haworth
Nope, didn't know that could be done - I was clicking the refresh button as you mentioned. Your suggestion worked fine, thanks. Pete Haworth On Mar 28, 2011, at 5:59 PM, Trevor DeVore wrote: > On Mon, Mar 28, 2011 at 1:37 PM, Peter Haworth wrote: > >> One small problem with this. It works as

Re: Problem with editing a field in a datagrid

2011-03-28 Thread Trevor DeVore
On Mon, Mar 28, 2011 at 2:40 PM, Peter Haworth wrote: > When I double click on the column to edit it, the editor field contains the > truncated text, not the complete text so when I get the new value in > CloseFieldEditor, I end up putting a string ending with the "..." chars > instead of the full

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Trevor DeVore
On Mon, Mar 28, 2011 at 12:46 PM, Peter Haworth wrote: > One other quick question for you. I've customised a column to contain a > check box. All works fine but I can't get the checkbox to be centered in > its column using the justification options in the column inspector. How can > I center a

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Trevor DeVore
On Mon, Mar 28, 2011 at 1:37 PM, Peter Haworth wrote: > One small problem with this. It works as described but setting the > property back to false does not get rid of all the datagrid controls in the > application browser. Tried refreshing it (and Refresh Data grid in the > datagrid inspector)

Re: best data format

2011-03-28 Thread Kee Nethery
I tend to convert the data into the format that is easiest for me to use. If the data supports it I create one variable with rows delimited by a return, and the columns delimited by a tab. Then if I set the itemdelimiter to tab, I can get item y of line x of the data. If I am going to pull it f

best data format

2011-03-28 Thread Todd Geist
Hello, I am building an app that will be a front end for some online databases. These databases can be accessed using simple http requests. So event something as simple as put tURL into field "data" works just fine. I can get the data down in a nice clean xml. Or I could get it as a tab delinea

Re: uiTextField Keyboard Types

2011-03-28 Thread BNig
Hi Mike, i guess its the keyboards mentioned on page 20 of the 4.6 iOS Release Notes Quote --- You can configure the type of keyboard that will be displayed by using the iphoneSetKeyboardType command: iphoneSetKeyboardType type Where type is one of: • default – the normal keyboard •

Problem with editing a field in a datagrid

2011-03-28 Thread Peter Haworth
I'm using a CloseFieldEditor handler to update the results of a user's changes to a datagrid text column into a database. Works fine except when the data in the column has been processed using the datagrid TruncateTail function and the data is too wide to fit in the column. In those circumstan

re: OT: PHP Assist - Resolved!

2011-03-28 Thread Dan Friedman
Update... I was able to resolve the problem with some advise from Sarah Reichelt. She found a way around the problem by running base64Encode() on the compressed string before I POSTed it. PHP then successfully got the data. Then, simply running base64_decode($cData) on the data in my php scri

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Peter Haworth
One small problem with this. It works as described but setting the property back to false does not get rid of all the datagrid controls in the application browser. Tried refreshing it (and Refresh Data grid in the datagrid inspector) but I had to quit LC and restart to get the aplication brows

uiTextField Keyboard Types

2011-03-28 Thread Mike Kerner
I apparently haven't been paying attention for a while. I see that one of the things we can do in 4.6 is set the keyboard that is used with the uiTextField control. I was sort of curious about that, so I ask...what are the keyboard types? The tutorial makes no mention, and as of this writing I h

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Peter Haworth
Trevor, One other quick question for you. I've customised a column to contain a check box. All works fine but I can't get the checkbox to be centered in its column using the justification options in the column inspector. How can I center a check box (it doesn't have a label and I've sized to

Re: Expletive Deleted.

2011-03-28 Thread Bob Sneidar
Being an IT guy I've learned to assume nothing and consider anything. Nothing personal. Bob On Mar 28, 2011, at 9:19 AM, Richmond wrote: > On 03/28/2011 06:38 PM, Bob Sneidar wrote: >> Is this a typo or did you copy this from your script? >> >> Bob >> >> >> On Mar 27, 2011, at 9:24 AM, Ric

Re: Expletive Deleted.

2011-03-28 Thread Richmond
On 03/28/2011 06:38 PM, Bob Sneidar wrote: Is this a typo or did you copy this from your script? Bob On Mar 27, 2011, at 9:24 AM, Richmond wrote: set th useUnicode to true Oh, come on; give me some credit. A typo of course! ___ use-livecode mai

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Peter Haworth
Great, Thanks Trevor. Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Mar 28, 2011, at 4:41 AM, Trevor DeVore wrote: > On Fri, Mar 25, 2011 at 1:25 PM, Peter Haworth wrote: > >> In order to debug some iss

Re: Expletive Deleted.

2011-03-28 Thread Bob Sneidar
Is this a typo or did you copy this from your script? Bob On Mar 27, 2011, at 9:24 AM, Richmond wrote: > set th useUnicode to true ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

Re: iOS UITextField with delete button

2011-03-28 Thread Gerry Orkin
Delete the text using the native iOS clear field icon instead (the small circle with a cross) - there's a setting for that mentioned in the control properties list, in the release docs. Gerry -- http://gerryorkin.com On 28/03/2011, at 8:44 PM, Scott Morrow wrote: > In an iOS project usi

About LiveCode iOS support

2011-03-28 Thread Frédéric RINALDI
I'm trying to display dynamic Google Maps data according to current iPhone position. Did anyone succeed with this? Looks like I only can get static map with Google. Moreover, I need to access some internal iPhone datas: UUID/CCID, user name, cellular phone number, time zone. Does latest LiveCode

Re: Accessing customised columns in a datagrid

2011-03-28 Thread Trevor DeVore
On Fri, Mar 25, 2011 at 1:25 PM, Peter Haworth wrote: > In order to debug some issues I'm having, I need to take a look at some > custom properties of the option menu copies (they could be different in each > copy) but I can't find a way to bring up the Inspector dialog for them since > they're no

iOS UITextField with delete button

2011-03-28 Thread Scott Morrow
In an iOS project using LiveCode field objects it is straight forward to hide and reveal a red "delete" button on top of the field. Switching from LiveCode fields to the native UITextField object breaks this method as the UITextField appears to float over the top of all LiveCode objects. Is ther

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-28 Thread Keith Clarke
Thanks, Jim - and a good tip regarding accessing listserv groups. I didn't find any jquery-specific entries via the search, but I think I have a direction now - your previous suggestions and Mike's discovery of jquery-viewport have provided plenty of research and experimentation threads to follo

Re: OT: PHP Assist

2011-03-28 Thread Dave Cragg
On 27 Mar 2011, at 20:05, Dan Friedman wrote: > Gentlemen, > > My goal is to upload compressed data to a file on a sever. I don't want to > use ftp. So, I am trying to use a php script. I am getting Rev to POST the > data, and I have a PHP script on my server that is writing the data. The

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-28 Thread Keith Clarke
Thanks Jim and Mike for the help. This jquery_viewport tool that Mike found looks very promising for my current project. The demo http://www.appelsiini.net/projects/viewport/3x2.html works OK (at least vertically) on Safari, which is all I need. So, I've downloaded this modified version from gi