Parent of Target

Sannyasin Brahmanathaswami brahma at hindu.org
Wed Aug 23 11:02:59 EDT 2017


OH!  

"    This sends the message down the normal message path starting at the object
    containing the script. 
"

And here I've been thinking that a target was required for specificity, because of this in the dictionary:

"If no target is specified, the message is sent to ' me '. In the context of a behavior, this is typically the child that is executing rather than the behavior object itself."

Life just go easier.

BR
 

On 8/22/17, 6:42 PM, "use-livecode on behalf of Trevor DeVore via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    This is the part that I don't think I understand. Why do you need to turn
    the long id of the parent into a small array and dispatch to to any object
    along the path? From the search custom control I would just do the
    following:
    
    dispatch "behaviorSearchAndFilter"
    
You can then handle the message farther down in a
    group, card, or stack script. What is it you are trying to accomplish with
    the parent of the search custom control?
    
    



More information about the Use-livecode mailing list