Parent of Target

Trevor DeVore lists at mangomultimedia.com
Wed Aug 23 00:42:20 EDT 2017


On Tue, Aug 22, 2017 at 6:11 PM, Sannyasin Brahmanathaswami via
use-livecode <use-livecode at lists.runrev.com> wrote:
>
>
> in this case behavior_SearchAndFilter  is attache to the searhView custom
> control
>
> yep I plan that simple dispatch
>
> hence my function to turn the long idea of the parent into a small array
>
> when can dispatch discretely to any object  along the path of the target


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"

This sends the message down the normal message path starting at the object
containing the script. 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?

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com



More information about the Use-livecode mailing list