Re: Saving Changes in iOS - Solved

2018-01-31 Thread Roger Guay via use-livecode
Thanks to Ralph and Klaus, I’ve succeeded in building my first iOS app that saves user data. The following post form Klaus did it. > Please read up the specialfolderpath() section in the dictionary. > > 1. specialfolderpath("documents”) is the folder inside of the application > bundle where we

Re: Navigator update: better conversion to behaviors, better property editing, better version control, and send to private commands

2018-01-31 Thread Mike Kerner via use-livecode
I love it when someone else solves a problem I've been thinking about attacking. I get a lot more gaming in that way :-) On Wed, Jan 31, 2018 at 5:56 PM, Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > I updated the 5.1 alpha of Navigator. You can download Navigator 5 her

FormattedHeight of a field and its contents

2018-01-31 Thread David Epstein via use-livecode
Is there somewhere an explanation of how a field’s textSize, borderWidth, margins, and formattedHeight interact? According to the dictionary entry for “formattedHeight”, a field’s formattedHeight is calculated “including top and bottom margins”, while the formattedHeight of a chunk is calcula

RE: discrepancy between official device metric and LC stack size

2018-01-31 Thread Ralph DiMola via use-livecode
Nicolas, Does that device have "old hardware keys" soft buttons on the bottom? On some devices this is shown if the manifest does not include some key that says your app no longer needs the "old hardware keys". Android has been phasing the hardware keys out. Setting this key in the manifests not a

Re: post to cgi, JSON in Headers?

2018-01-31 Thread Bob Sneidar via use-livecode
As a file, or to a SQL database? I successfully store PDFs in a mySQL database as large blobs. For PDFs that are not large, a medium BLOB would probably be fine. I open the PDF for binary read, then read until EOF. But my PDFs are one or at most two page fillable forms. Bob S > On Jan 31, 20

discrepancy between official device metric and LC stack size

2018-01-31 Thread Nicolas Cueto via use-livecode
I test my mobile stacks on a Nexus 5, and, in portrait orientation, many bottom pixels are offscreen, even though for width and height I follow exactly the numbers given in dp at the website Device Metrics . Why is it cut off? And how can I avoid this? Is there an LC

Navigator update: better conversion to behaviors, better property editing, better version control, and send to private commands

2018-01-31 Thread Geoff Canyon via use-livecode
I updated the 5.1 alpha of Navigator. You can download Navigator 5 here . The full documentation is here , and there is a description in detail of how conversion t

Re: making DG2 usable

2018-01-31 Thread zryip theSlug via use-livecode
I don't know, but you can create quickly and easily something similar, for a test. 1. Create a new datagrid form 2. Populate it with some data, by using the inspector 3. By adding this script in a button, turn the datagrid in edit mode. set the dgEditMode of grp "datagrid 1" to true 4. You can

Re: making DG2 usable

2018-01-31 Thread PystCat via use-livecode
It was an email announcing some of the new features and it showed a web clip of it in action. It was WAY cool showing the drag and sort along with the swipe to delete… AND this was on a desktop. > On Jan 31, 2018, at 4:29 PM, Mike Kerner via use-livecode > wrote: > > Was it a file? I don't

Re: making DG2 usable

2018-01-31 Thread Mike Kerner via use-livecode
Was it a file? I don't remember seeing a file. I just remember the webex session. On Wed, Jan 31, 2018 at 4:01 PM, PystCat via use-livecode < use-livecode@lists.runrev.com> wrote: > Is it possible get the demo file the Mothership did in the email that > showed off the new features..? I would l

Re: making DG2 usable

2018-01-31 Thread PystCat via use-livecode
Is it possible get the demo file the Mothership did in the email that showed off the new features..? I would love to see that. > On Jan 31, 2018, at 12:07 PM, Richard Gaskin via use-livecode > wrote: > > Mike Kerner wrote: > > > > On 31 Jan 2018, at 2:07 pm, Richard Gaskin wrote: > > > > > >

Re: DataGrid Horizontal Scrollbar

2018-01-31 Thread Terence Heaford via use-livecode
> On 31 Jan 2018, at 15:46, Tom Glod via use-livecode > wrote: > > i just thought you needed the ability to scroll the header while there is > no data in the grid.. so it doesn't defeat the purpose just over-rides > it .maybe i mis-understood what you wanted I just thought the correc

closestackrequest in iOS Simulator

2018-01-31 Thread Klaus major-k via use-livecode
Hi friends, Xcode 9.2, LC 9 dp11 and LC 8.1.9 RC2 Out of a sudden, "closestackrequest" and "closestack" do not seem to get sent to the stack in the simulator anymore? I created a new empty stack with only this stackscript: --- on closestac

Re: making DG2 usable

2018-01-31 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > > On 31 Jan 2018, at 2:07 pm, Richard Gaskin wrote: > > > > But as for DG2, am I the only one who finds it too wonky to use? > > @Richard have you tried Bernd's modTableField as an alternative? I'm > deploying it in my second project, and it's pretty darn cool. And > fast.

post to cgi, JSON in Headers?

2018-01-31 Thread Klaus major-k via use-livecode
Hi friends, I am scripting a routine to upload a PDF file to a server. So far, so good-> libURLMultipartFormData() is my friend. but now the developer of the API send me two TOKENs for authentification and said: "...and make sure you're posting the HTTP header data (the tokens) as application/

Re: making DG2 usable

2018-01-31 Thread Mike Kerner via use-livecode
@Richard have you tried Bernd's modTableField as an alternative? I'm deploying it in my second project, and it's pretty darn cool. And fast. On Tue, Jan 30, 2018 at 10:18 PM, Mike Kerner wrote: > So is that an RC1 thing or a 9.1 thing? > > On Tue, Jan 30, 2018 at 10:13 PM, Monte Goulding via u

Re: DataGrid Horizontal Scrollbar

2018-01-31 Thread Tom Glod via use-livecode
i just thought you needed the ability to scroll the header while there is no data in the grid.. so it doesn't defeat the purpose just over-rides it .maybe i mis-understood what you wanted On Wed, Jan 31, 2018 at 3:18 AM, Terence Heaford via use-livecode < use-livecode@lists.runrev.com> wro

Re: DataGrid Horizontal Scrollbar

2018-01-31 Thread Terence Heaford via use-livecode
> On 29 Jan 2018, at 19:29, Tom Glod via use-livecode > wrote: > > set the disabled of the scrollbar to false once you find the name of it. Yes, that’s certainly possible but surely defeats the point of the auto setting. All the best Terry ___ us