referring to object names stored in variables

dunbarx at aol.com dunbarx at aol.com
Sun Aug 14 17:55:29 EDT 2011


The listBehavior makes no difference in my tests. I just never knew that the selectedLine was set upon clicking into a locked field.


This might be a disadvantage if you want to work when there is NO selectedLine. You get one anyway.That is what the clickLine is for. Thanks a lot.


Craig





-----Original Message-----
From: J. Landman Gay <jacque at hyperactivesw.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sun, Aug 14, 2011 1:41 pm
Subject: Re: referring to object names stored in variables


On 8/14/11 4:08 PM, Colin Holgate wrote:

> I'm glad you saw the same behavior I saw, and don't have a special
> version of liveCode like Jacque.

I see. My "special version" was 4.6.2, since I had a lot of other work 
open in 4.6.3 when I tested. Apparently something changed. In 4.6.2 I 
get "no target found" when I run your script, which forced me to set the 
listbehavior.

In 4.6.3, it does behave as you say. I think I prefer 4.6.2 because it 
requires you to set up the field in a way that produces the expected 
behavior. Or else 4.6.x should fix it so all references produce the 
expected result.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 




More information about the use-livecode mailing list