Getting a list of cards in a stack

Mike Bonner bonnmike at gmail.com
Mon Nov 22 11:08:29 EST 2010


Look at cardNames in the dictionary. And after you get the cardNames you can
use filter to remove the card that has the list field.  So something like
this in a button will do what you want.  For the quick test I just put it in
a button on the card with the listfield.

on mouseUp
   get the cardnames of this stack
   filter it without the short name of this card
   put it into field "yourListField"
end mouseUp

On Mon, Nov 22, 2010 at 8:58 AM, Scott Pepperdine <spepper at byu.net> wrote:

> What command would I use to populate a list field with the names of all the
> cards in a stack? Preferably omitting the card the list field is on?
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list