Behaviors
Alex Tweedly
alex at tweedly.net
Tue Aug 22 13:09:08 EDT 2023
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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list