you probably know this: in the property inspector, there's a panel for behavior, so you can just select the behavior from a menu button, without having to type it
On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode <use-livecode@lists.runrev.com> wrote: > > I figured out how to do it in the IDE. I needed to include “of stack” in the > reference. — Dar > > > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode > > <use-livecode@lists.runrev.com> wrote: > > > > Not sure how it works in the IDE - seems a problem because it only presents > > button in the current stack. > > > > So I do it all in preOpen... scripts, doing something like > > > >> set the behavior of fld "F" of grp tmpName to the long id of button > >> "RichTextFieldBehaviour" of \ > >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > >> Livecode/Libraries/richText.livecode" > > > > Alex. > > > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >> I am misremembering things about Behaviors. > >> > >> I have a card with my behavior buttons, but I can’t seem to point to > >> buttons on that card. Maybe, I’m remembering what I did long ago with > >> front scripts. > >> > >> I suppose I can use substacks, but I’m worried that the stacks would be in > >> the message path. Is there a way to keep the stack out of the message path? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode