bobsneidar at iotecdigital.com
Tue Sep 19 11:43:46 EDT 2017
Hi Devin. That actually works a peach, thanks. I'm excited about going to behaviors, as I have a LOT of identical code in my app and this is going to streamling everything a great deal.
> On Sep 18, 2017, at 16:23 , Devin Asay via use-livecode <use-livecode at lists.runrev.com> wrote:
> Sorry, I should have said “Use 'before menuPick' or 'after menuPick' instead of ‘on menuPick’.
> On Sep 18, 2017, at 5:21 PM, Devin Asay via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
> Maybe the best way to do this is to use the before or after control structure in the behavior, rather than the menuPick.
> before menuPick pItem
> # do common behavior stuff here
> end menuPick
> That leaves the menuPick handler unencumbered in the actual object.
More information about the Use-livecode