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
Referring to an object from another card
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 63
- Joined: Sat Dec 22, 2012 3:01 am
Re: Referring to an object from another card
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
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