Re: lock screen question and detect field question

2014-10-13 Thread Geoff Canyon
One caveat: if you are assembling a great deal of text in small chunks, you should likely do it in a variable and then toss it into the field in one go. Field updates are slower than many (most?) other things you might be doing, and one field update with 10,000 lines will be *much* faster than

Re: lock screen question and detect field question

2014-10-13 Thread Sean Cole (Pi)
Hi Larry, As well as the afore mentioned, all excellent comments, you can use the 'if exists(fld myField01) then' script. I also encapsulate all sorts of things in try...end try commands. These are extremely powerful although could be considered a little lazy. For example, when using iPhone

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 10:05 AM, la...@significantplanet.org wrote: 1) I have a program where I'm creating and deleting fields. Why are you creating them and deleting them? Why aren't the fields already there and you just show and hide them? ___

Re: lock screen question and detect field question

2014-10-12 Thread larry
that. Thanks, Larry - Original Message - From: Kay C Lan lan.kc.macm...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sunday, October 12, 2014 8:14 PM Subject: Re: lock screen question and detect field question On Mon, Oct 13, 2014 at 10:05 AM, la

Re: lock screen question and detect field question

2014-10-12 Thread J. Landman Gay
On 10/12/2014, 9:05 PM, la...@significantplanet.org wrote: 1) I have a program where I'm creating and deleting fields. If I try to delete a field that hasn't yet been created, I get a script error. So is there a way to first find out if the field exists? Did you look up exists in the

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 10:33 AM, la...@significantplanet.org wrote: Maybe I can just create all the fields I will ever possibly need and then just show and hide them. That is certainly an approach I've used many many times, especially if the number of fields is large. If the number of fields

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
Accidently hit the Send button. Here is what I meant to type: lock screen if the label of btn selectMethod = Output then set the height of fld multipurpose to 123 set the width of fld multipurpose to 456 set the loc of fld multipurpose to 200,200 etc put