Re: Trouble with export image

2012-09-25 Thread Graham Samuel
Since writing the query below, I realise that sometimes 'export' doesn't export: it produces an (undocumented) result "can't open file" which seems inappropriate. I had somehow messed up the file path and hadn't noticed. There was a different problem with the framing of the image - hard to track

Re: Oval Bug in iOS

2012-09-25 Thread Roger Guay
Apparently there is little interest in this obscure behavior, but for the record, ovals with line sizes of about 30 or more show a small empty sector at about the 3 o’clock position in iOS. In previous posts, I thought this problem was related to my script used to incrementally grow rings. Not

Re: Oval Bug in iOS

2012-09-25 Thread Bob Sneidar
set the fat of the selectedObject to 31. I like it! Bob On Sep 25, 2012, at 10:14 AM, Roger Guay wrote: > Apparently there is little interest in this obscure behavior, but for the > record, ovals with line sizes of about 30 or more show a small empty sector > at about the 3 o’clock position i

Has anybody run into this problem?

2012-09-25 Thread Charles Szasz
I have a number of fields that I am using the closeField and exitField handlers to do calculations after the user enters numbers in the fields. The Problem I am running into is that the closeField and exitField handlers do not work on the very last field when the user clicks directly on a butto

Re: Has anybody run into this problem?

2012-09-25 Thread Devin Asay
On Sep 25, 2012, at 11:32 AM, Charles Szasz wrote: > I have a number of fields that I am using the closeField and exitField > handlers to do calculations after the user enters numbers in the fields. The > Problem I am running into is that the closeField and exitField handlers do > not work on

Re: Has anybody run into this problem?

2012-09-25 Thread charles61
Dean, I tried the traveralOn for the button but it did not work. I then substituted the new textChanged for a closeField handler and it worked! I am using LC 5.5.2 for the first time. Do you think it is wise to only use the textChanged handler and delete the closeField and exitField handlers for e

Re: Has anybody run into this problem?

2012-09-25 Thread Charles Szasz
Dean, The textChanged handler worked great! What do you think of using only the textChanged handler and delete the closeField and exitField handlers for each of my data entry fields? Charles Szasz csz...@mac.com ___ use-livecode mailing list use-

Re: Has anybody run into this problem?

2012-09-25 Thread Bob Sneidar
Yes this is "normal" behavior for a Mac. There is a workaround. In the button (or any button that the user might click) enter: focus on nothing You can even have a mouseUp handler in the frontscript that does it for you and passes the mouseUp message. Bob On Sep 25, 2012, at 10:32 AM, Charl

Re: Has anybody run into this problem?

2012-09-25 Thread Bob Sneidar
Whatever works, but I like the focus on nothing workaround. Bob On Sep 25, 2012, at 11:04 AM, charles61 wrote: > Dean, > > I tried the traveralOn for the button but it did not work. I then > substituted the new textChanged for a closeField handler and it worked! I am > using LC 5.5.2 for the

Show/Hide problem persists

2012-09-25 Thread lunchnmeets
Hi Again, In previous builds I had no trouble with this code but I do have a problem with my Mac and v5.5.2. It's really strange that after executing a show or hide in a button script it exits to the top. Nothing further is seen. Here's the strange part though. If I use a keyDown command to

Re: Has anybody run into this problem?

2012-09-25 Thread Charles Szasz
Bob, Thanks! Can you also use select empty as well? Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.run

Re: detect keyboard height on mobile

2012-09-25 Thread ha...@exformedia.se
According to the documentation http://developer.android.com/reference/android/inputmethodservice/Keyboard.html#getHeight() it doesn't looks like it should be that hard to implement... ...so maybe someone at Runrev could explain why they are "not able to resolve the bug at this point in time." :

Re: Show/Hide problem persists

2012-09-25 Thread Bob Sneidar
At this point I would have to have a copy of the problem stack. Obviously something else is going on here because to my knowledge no one else has been able to reproduce the problem. Bob On Sep 25, 2012, at 11:37 AM, lunchnmeets wrote: > Hi Again, > > In previous builds I had no trouble with

Re: Has anybody run into this problem?

2012-09-25 Thread Bob Sneidar
Perhaps, but I like the fact that if there is a focus border on a field, focus on nothing turns it off. Seems cleaner to me. Bob On Sep 25, 2012, at 11:56 AM, Charles Szasz wrote: > Bob, > > Thanks! Can you also use select empty as well? > > Charles Szasz > csz...@mac.com > > > > > > _

Format Accented Characters for URL?

2012-09-25 Thread Scott Rossi
Hi List: Wondering if someone has a suggestion for URL character formatting in LCŠ I'm trying to format a URL string to submit to Google Maps. The string is a street address that needs to be delimited using "+". The complication arises when an address contains an accented character like ñ (n +

How to target selected field of another stack

2012-09-25 Thread Brahmanathaswami
I want to add a pull down menu to a small tools palette stack (B) that acts on the fields of a second "main" stack (A). even if the window mode of the tools stack (B) is palette, the traversal of the pull down menu is off and I have my cursor in a text field of the "main" stack (A)... the focu

Re: Format Accented Characters for URL?

2012-09-25 Thread Dave Cragg
On 25 Sep 2012, at 21:29, Scott Rossi wrote: > Hi List: > > Wondering if someone has a suggestion for URL character formatting in LCŠ > > I'm trying to format a URL string to submit to Google Maps. The string is a > street address that needs to be delimited using "+". The complication > aris

artificially causing a field to be left in a script

2012-09-25 Thread Dr. Hawkins
TO avoid pounding the database, my card full of data fields only saves data if any has changed. This is done by closeField setting a flag. However, if someone changes data in one field, but then clicks to go on to the next data, closefield is never reached. If I can send a tab to the field with

Re: Has anybody run into this problem?

2012-09-25 Thread Charles Szasz
Bob, Thanks! I tried your suggestion and it works fine! Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists

Re: Format Accented Characters for URL?

2012-09-25 Thread Scott Rossi
Thanks so much Dave -- that seems to work. I discovered I was also encoding a parameter along with the URL which was part of the problem, but your routine solved the character issue. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design On 9/25/12 4:26 PM, "Dave Cragg" wr

The #)(*%& trace is back in 5.2.2!

2012-09-25 Thread Dr. Hawkins
It's happening again: at a breakpoint, I get a brief pause, and then it starts moving through code. This would be useful if it did it when I *TOLD* it to. The only solution, again, seems to be to quit the IDE. -- Richard E. Hawkins, Esq. (702) 508-8462 ___

Re: artificially causing a field to be left in a script

2012-09-25 Thread dunbarx
Hi. Can't you use "exitField"? Craig Newman -Original Message- From: Dr. Hawkins To: How to use LiveCode Sent: Tue, Sep 25, 2012 9:47 pm Subject: artificially causing a field to be left in a script TO avoid pounding the database, my card full of data fields only saves data if any

Re: artificially causing a field to be left in a script

2012-09-25 Thread Dr. Hawkins
On Tue, Sep 25, 2012 at 8:13 PM, wrote: > Can't you use "exitField"? No; that only applies if the field is exited without change--and I only care about the case where the field has changed, but the card is left before leaving the field. When that happens, I want the closefield behavior for that

Re: artificially causing a field to be left in a script

2012-09-25 Thread dunbarx
Hi. I have a nagging feeling I am missing what you want. When you say "clicks to go to the next data", what do you mean? I thought your issue was leaving a field without changing its contents, which would indicate the use of "exitField", whereas "closeField" is sent only when the field cont

Re: artificially causing a field to be left in a script

2012-09-25 Thread dunbarx
Hi, again. But if you change the contents of a field, and then leave the card, closeField is sent. I made a field, and put this into its script: on closeField put random(99) && the target end closeField I typed into the field, and then left the card (via CMD-3). A number appears in the

Re: artificially causing a field to be left in a script

2012-09-25 Thread Dr. Hawkins
On Tue, Sep 25, 2012 at 8:20 PM, wrote: > > When you say "clicks to go to the next data", what do you mean? There are nav buttons. Each datum contains a couple of dozen fields. If any change (flag set on exitfield), the datum is dumped to the database. > I thought your issue was leaving a fie

Re: artificially causing a field to be left in a script

2012-09-25 Thread Dr. Hawkins
On Tue, Sep 25, 2012 at 8:32 PM, wrote: > Is this not what you needed? Not quite-- when the nav button is hit, that script runs before the card is left. For that matter, the card is never left; I just load new data into the fields from the database. It looks to the user like a stack of cars.

Re: artificially causing a field to be left in a script

2012-09-25 Thread dunbarx
Sorry, still not getting it. If I change the contents of a field, it matters not what I do next: click a button or the card, navigate to another card via any means open to me, focus on another field, whatever, the "closeField" message is sent. What are you doing, exactly, after the text of the

Re: Format Accented Characters for URL?

2012-09-25 Thread Scott Rossi
Darn -- maybe I spoke too soon. It seems that uniEncoding/Decoding works fine on the desktop, but perhaps doesn't work when run from an irev file? After getting empty values returned from the server, I tried these simple tests: put uniDecode(uniEncode("ABC"),"utf8");exit to top put uniEncode("ABC

Re: artificially causing a field to be left in a script

2012-09-25 Thread Dr. Hawkins
On Tue, Sep 25, 2012 at 8:43 PM, wrote: > Sorry, still not getting it. If I change the contents of a field, it matters > not what I do next: >click a button or the card, navigate to another card via any means open to me, >focus on >another field, whatever, the "closeField" message is sent. Tha

Re: artificially causing a field to be left in a script

2012-09-25 Thread dunbarx
Now I see. put this into the field script: on mouseLeave focus on nothing end mouseLeave When the field loses focus, it will trigger the "closeField" message. Craig Newman -Original Message- From: Dr. Hawkins To: How to use LiveCode Sent: Wed, Sep 26, 2012 12:39 am Subject: R

Re: artificially causing a field to be left in a script

2012-09-25 Thread Peter Haworth
If you're saying the user clicks on a button after changing a field, see the other concurrent thread going on right now. closeField doesn't happen if you change a field's contents and then immediately click on a button. The other thread has the workaround. Pete lcSQL Software

Re: artificially causing a field to be left in a script

2012-09-25 Thread Terry Judd
On 26/09/2012, at 02:59 PM, wrote: > Now I see. > > > put this into the field script: > > > on mouseLeave > focus on nothing > end mouseLeave > > > When the field loses focus, it will trigger the "closeField" message. Or put it in the mouseUp handler of the button, or set the traversal