Target controls on a card that are *not* part of a placed groups
Sannyasin Brahmanathaswami
brahma at hindu.org
Sun Mar 6 23:20:09 EST 2016
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 (dochawk at gmail.com(mailto:dochawk at 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
More information about the use-livecode
mailing list