ol 3
>repeat for each line rLine in the selectedObjects
> put the topLeft of rLine & return after sLocations
>end repeat
>answer sLocations
> end mouseUp
>
>
> No problems. When I first read your post I thought maybe a "do"
> construction
end mouseUp
No problems. When I first read your post I thought maybe a "do" construction
might be in order, but it works just fine as is.
Craig
-Original Message-
From: Peter Haworth
To: How to use LiveCode
Sent: Mon, Jan 27, 2014 3:49 pm
Subject: Dereferencing control i
e has been more reliable for me (YMMV).
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
Original message
Subject: Dereferencing control ids
From: Peter Haworth
To: How to use LiveCode
CC:
Getting a problem trying to grab the topLeft of each control i
Getting a problem trying to grab the topLeft of each control in the
selectedObjects. Code is as follows:
repeat for each line rLine in the selectedObjects
put the topLeft of rLine & return after sLocations
end repeat
I get a runtime error on the "put" statement:
(Chunk: error in object expre