the inverse of the "owner" property
dick.kriesel at mail.com
Mon Oct 10 22:24:59 CDT 2005
Here¹s a virtual property that (I think) is the inverse of the ³owner²
property. It has a strange name, based on the assertion that the opposite
of "owner" is "ownee." Call it what you will...
The property works for me, but does anyone see trouble with it?
if first word of name of the target is "stack" then
put the substacks of the target into tSubstacks
if tSubstacks is empty then
put the cardNames of the target into tOwnees
repeat for each line tSubstack in tSubstacks
put the name of stack tSubstack & return after tOwnees
put the cardNames of the target after tOwnees
put abbr id of the target into tOwner
repeat with i = 1 to number of controls in tOwner
if abbr id of the owner of control i of tOwner is tOwner then
put name of control i of tOwner & return after tOwnees
delete last char of tOwnees
Thanks in advance for your consideration...
More information about the use-livecode