Aloha, Dr. Hawkins

excellent.. thank you  

I think you mean "owner of button..."  

this works marvelously  

------ 
on mouseUp 
   
   put fld "objectProps" into aObjectProps
   split aObjectProps with cr and "|" 
   set the defaultStack to the topstack 
   
   repeat with i = the number of buttons on this card down to 1 
      if word 1 of the owner of button i of this card is not "card" then 
         next repeat 
    else
         repeat for each key y in aObjectProps
            set the y of  button i of this card  to aObjectProps[y] 
         end repeat 
      end if
      end repeat
end mouseUp 




-----
BR  

On March 6, 2016 at 5:27:40 AM, Dr. Hawkins 
(doch...@gmail.com(mailto:doch...@gmail.com)) wrote:

> repeat with i = the number of buttons on this card down to 1  
>  
> if word 1 of the name of button i of this card is not "card" then next  
> repeat  
>  
> --do stuff to the button  
>  
> end repeat
_______________________________________________
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