David Bovill <david@...> writes:

> or if I want a user want to create and index with a script:
> 
> repeat with cardNum = 1 to the number of cards
> > put the title_Text of group 1 of card cardNum & CR after myIndex
> > end repeat

Maybe I'm not following what you want to do here... a custom property of a
shared group is also shared, so you can't have multiple values without, as Pete
said, creating an array for them.

If you just want to get the text of a field in a shared group, though, then the
following code works for me in a behavior button (the shared group contains two
fields and you put a card number into field 2):

on mouseUp
  local tCard

  put field 2 into tCard
  put the text of field 1 of card tCard & cr after msg
end mouseUp

so I guess I don't understand what the problem is.

-- 
 Mark Wieder
 mwie...@ahsoftware.net


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to