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.
Bob S > On Sep 18, 2017, at 16:23 , Devin Asay via use-livecode > <[email protected]> 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 > <[email protected]<mailto:[email protected]>> wrote: > > Bob, > > 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. > > Devin > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
