Referring to an object from another card

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
abanowBUSTfGf
Posts: 63
Joined: Sat Dec 22, 2012 3:01 am

Referring to an object from another card

Post 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
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Referring to an object from another card

Post 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 8)
http://www.runrev.com/developers/lesson ... nferences/


Best

Klaus
Post Reply