Copying fields sometimes doesn't copy their content. But when?

J. Landman Gay jacque at hyperactivesw.com
Sun Feb 24 15:57:52 EST 2013


On 2/24/13 10:21 AM, David Epstein wrote:
> Is there some rule that determines whether, when a field or group is
> copied in LiveCode (using the "copy <object> to <somewhere>" command)
> the contents of the field or grouped fields are copied?
>
> This result seems strange:  copying a field or group from a different
> stack to the current card includes the field contents if the current
> card is card number 1, but not otherwise.

I think that is due to the sharedtext property. Try toggling it and see 
if results change. Shared text doesn't really exist on every card, the 
content is only stored once, and you may have to be on that card to 
retrieve it.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list