Page 1 of 1
Referring to an object from another card
Posted: Thu Jan 31, 2013 12:04 pm
by abanowBUSTfGf
I have an text paragraph in a second card and want to refer to this object
in my first card i.e. put (second card contents) into (first card field).
Is there a way I can do this?
Thanks
Re: Referring to an object from another card
Posted: Thu Jan 31, 2013 12:15 pm
by Klaus
Hi abanowBUSTfGf,
you can address EVERYTHING in Livecode, even objects of stack (files) that are not open,
as long as you add the correct and complete "descriptor" so Livecode can find the object
...
put the text of fld "a field somewhere..." of card "another card" into fld "the field on this card"
...
put the text of fld "a field somewhere..." of card "another card" of stack "a complete other stack" into fld "the field on this card"
...
You really should work through these stacks to get even more basics of Livecode
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus