Re: Why does this not work ?

2019-06-17 Thread Alex Tweedly via use-livecode
Because the point was to demonstrate different script lines, some of which work and one of which doesn't - but which to my simple mind should have all worked. (and a couple of kind people explained why that one was different :-) It was not a "real" fragment of code - in that case I would

Re: Why does this not work ?

2019-06-17 Thread Bob Sneidar via use-livecode
Why aren't you setting the vis of tName? Bob S > On Jun 10, 2019, at 17:44 , Alex Tweedly via use-livecode > wrote: > > OK, this code produces an error - but I can't see why (and I worry about that > :-) > > I have a field inside a group inside a group , > > and the following code :

Re: Why does this not work ?

2019-06-11 Thread Dar Scott Consulting via use-livecode
I think this is important. Perhaps related is why this is an execution error. > On Jun 11, 2019, at 2:18 AM, Alex Tweedly via use-livecode > wrote: > > Thank you Peter and Mark. > > I guess I see it now - though it's still against *my* intuition :-) > > Thanks > > Alex. > > On 11/06/2019

Re: Why does this not work ?

2019-06-11 Thread Alex Tweedly via use-livecode
Thank you Peter and Mark. I guess I see it now - though it's still against *my* intuition :-) Thanks Alex. On 11/06/2019 03:24, Peter Bogdanoff via use-livecode wrote: I think that 'item 1 of t1’ has to be resolved to an object reference before it can be used with the vis property. The

Re: Why does this not work ?

2019-06-11 Thread Mark Waddingham via use-livecode
On 2019-06-11 02:44, Alex Tweedly via use-livecode wrote: on mouseup    local tName, t1, t2    put the long name of fld "F" into tName    put tName & ",12,13" into t1    put "t1" && t1 after msg    put item 1 of t1 into t2    set the vis of t2 to TRUE    put "t2 was OK" after msg    set the

Re: Why does this not work ?

2019-06-10 Thread Peter Bogdanoff via use-livecode
I think that 'item 1 of t1’ has to be resolved to an object reference before it can be used with the vis property. The earlier lines are doing that, but not the last. It seems that LiveCode has gotten stricter with this in recent versions, requiring “of me” or such when referring directly to

Why does this not work ?

2019-06-10 Thread Alex Tweedly via use-livecode
OK, this code produces an error - but I can't see why (and I worry about that :-) I have a field inside a group inside a group , and the following code : on mouseup    local tName, t1, t2    put the long name of fld "F" into tName    put tName & ",12,13" into t1    put "t1" && t1 after

Why does lockScreen not work here?

2011-07-02 Thread bar...@libero.it
This is a similar question to that of Tiemo (why does lock screen doesn't locks the screen? (Tiemo Hollmann TB)) about finding colours under other objects (controls) but that thread evolved so fast in a single Digest I may appear a bit late. Thus the hijacked thread title. The following

Re: Why does lockScreen not work here?

2011-07-02 Thread Mark Schonewille
Barry, You made a mistake. The correct syntax is: lock screen or set the lockScreen to true and unlock screen or set the lockScreen to false -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: