Re: Windows standalone puzzle

2013-08-28 Thread Geoff Canyon
On Mon, Aug 19, 2013 at 9:43 PM, Peter M. Brigham pmb...@gmail.com wrote: function shorten tList repeat with n = 1 to the number of lines of tList put line n of tList into lineText if length(lineText) 75 then next repeat put empty into tBefore put empty into

Re: iOS and the defaultfolder

2013-08-28 Thread Neil Roger
Hi Ralph, I have responded to your support request in regards to this matter. Please let me know if you did not receive this response. Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com - On 28/08/2013 05:41, Ralph DiMola wrote: This works in the simulator but not on

Datagrid: Edit row, save to database

2013-08-28 Thread Pascal Lehner
Hi all, Sitting in the Indian sun and writing on my hobby project. (Sorry for that.. ;-) Couldn't be better if there wasn't that one thing I cannot figure out just now. I load data from several tables (main table: ingredients) from a a SQLite database into a data grid. Now I wan't to provide an

Re: Strange behavior of files()

2013-08-28 Thread Michael Kristensen
Den 28/08/2013 kl. 12.00 skrev use-livecode-requ...@lists.runrev.com: Richard, you were right in both cases. A sort put it straight and the number of files was correct. So no bug, but can cause hair-pulling in some cases. Thanks for your swift reply. It vas while I used Chipp Walters

Re: LiveCode Server, can it read local (on the server) drives?

2013-08-28 Thread Richard Gaskin
Roger Eller wrote: Additionally, I want to pass a list to be queried and verified, instead of one line at a time, passing parameters with GET. Any recommendations on that front? For reasons I can't understand, though the LC Server engine is 50% larger than a GUI Linux standalone, I believe

Re: iOS and the defaultfolder

2013-08-28 Thread Thomas McGrath III
Ralph, Do you have File Sharing selected or unselected in the iOS pane in the application standalone settings? -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Aug 28, 2013, at 12:41 AM, Ralph DiMola rdim...@evergreeninfo.net wrote: This works in the simulator but not on the

Re: LiveCode Server, can it read local (on the server) drives?

2013-08-28 Thread Roger Eller
Richard, A direct SQL query followed by a FTP command to check existence, on a per file basis takes about 150 millisecs. The same query performed by LC Server, and FTP existence check, takes about 500 millisecs. I understand that sockets would be more efficient for high volume io. At most, my

Re: LiveCode Server, can it read local (on the server) drives?

2013-08-28 Thread Richard Gaskin
Roger Eller wrote: A direct SQL query followed by a FTP command to check existence, on a per file basis takes about 150 millisecs. The same query performed by LC Server, and FTP existence check, takes about 500 millisecs. FTP is notoriously slow. All things considered, that's not bad,

RE: iOS and the defaultfolder

2013-08-28 Thread Ralph DiMola
Tom, File sharing is NOT checked. Did you see my second message? Weird Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Thomas McGrath III Sent:

RE: iOS and the defaultfolder

2013-08-28 Thread Ralph DiMola
Neil, Very interesting. Check out the change I made to the top button. When one sets the default folder to any place in the the documents folder a /Private get prepended to the front of the defaultfolder(but not on the simulator). the documents folder does not start with /Private although you

Re: LiveCode Server, can it read local (on the server) drives?

2013-08-28 Thread Roger Eller
If there is a file path would be much better and easier to read than: put libURLftpCommand(SIZE fileToQuery, LFtpServer, LFtpUserName, LFtpUserPassword) into tSize if word 1 of tSize is 213 then put true into fileExists else put false into fileExists end if ~Roger On Wed, Aug 28,

Re: Variable scope in Server mode

2013-08-28 Thread Christer Pyyhtiä
A further question: - when you connect the server, and set a global variable into a value (e.g. put true into gVar), and your device after a few commands contacts the server / same script again, is gVar still true or empty? ___ use-livecode

Re: Radio / checkbox button scaloing

2013-08-28 Thread Christer Pyyhtiä
What is wanted is that the checkbox scales with the textSize. Now it looks like the box size stays constant not depending on textSize. I have been trying to find out ways but no success so far. ___ use-livecode mailing list

Re: Radio / checkbox button scaloing

2013-08-28 Thread Roger Guay
I believe you have to change their icon. Build your own icons of the size you want and then import them as images etc. Roger On Aug 28, 2013, at 9:17 AM, Christer Pyyhtiä chris...@mindcrea.com wrote: What is wanted is that the checkbox scales with the textSize. Now it looks like the box

Re: Variable scope in Server mode

2013-08-28 Thread Richard Gaskin
Christer Pyyhtiä wrote: - when you connect the server, and set a global variable into a value (e.g. put true into gVar), and your device after a few commands contacts the server / same script again, is gVar still true or empty? Any CGI process is launched, runs, and quits with each

MySql vs Valentina

2013-08-28 Thread AC Marketscout
Hello, We are developing a new application using LiveCode. One requirement is that there is some easy way to alter the underlying DB schema, on-the-fly, by an administrator, who can then also immediately use it to make front-end changes. I have heard Valentina supports tight integration with

Parsing iCal Format

2013-08-28 Thread Dan Friedman
Greetings! Has anyone messed around with parsing through a iCal file? I am writing my own [mobile] calendar that will read in and display iCal data. Getting and finding data in the file is easy (BEGIN:VEVENT, LOCATION, SUMMARY, DESCRIPTION, etc.). The problem is working with RRULE, the

Re: Windows standalone puzzle

2013-08-28 Thread Peter M. Brigham
Inventive approaches, thank you. I continued to have trouble with using any function at all to trim the lines in a Windows standalone though everything I tried worked in the Mac IDE. It started working fine in the standalone when I put the identical code into the calling handlers. I still don't

Re: Datagrid: Edit row, save to database

2013-08-28 Thread Björnke von Gierke
sure, i suggest you check out the lessons, mosg dg stuff is documented there: http://lessons.runrev.com/m/datagrid for example: http://lessons.runrev.com/s/lessons/m/datagrid/l/7314-how-do-i-add-a-row-of-data-to-an-existing-data-grid or:

Re: Windows standalone puzzle

2013-08-28 Thread Peter Haworth
Glad you got it working. Just a nitpick but you want to consider using numToChar(133) instead of so you only take up 1 char instead of 3. Of course nothing's ever that simple 'cause then you'd have to use ISOToMac as well when on a Mac.. Pete lcSQL Software http://www.lcsql.com On Wed,

Re: MySql vs Valentina

2013-08-28 Thread Kay C Lan
Hi, My suggestion is to post your question on the Valentina Use List, which I've CC'd. I haven't done what you want, but the API calls are very powerful and so would imagine it possible. Valentina has Binary LINKs, once you figure those out it makes creating and maintaining data relationships

Re: Windows standalone puzzle

2013-08-28 Thread Geoff Canyon
Do you mean that the code is no longer in a function at all, it's just part of some build the menu routine, and that works, but if it's a function, even in the same object, it's no good? That is odd. gc Sent from my iPad On Aug 28, 2013, at 11:40 AM, Peter M. Brigham pmb...@gmail.com wrote:

Re: Windows standalone puzzle

2013-08-28 Thread Geoff Canyon
I thought about writing the function to accept a parameter for the ellipsis chunk but I went with expediency instead :-/ Sent from my iPad On Aug 28, 2013, at 7:22 PM, Peter Haworth p...@lcsql.com wrote: you want to consider using numToChar(133) instead