Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
set the behavior of button "chooseAction" to the long id of button "ActionPopup" of card 1 of stack "TM-CodeLibrary"
Also, can't see the behavior field in the Inspector for the Option menu so I suspect that I can't set it... I need to have the same behavior for an option button in two cards and would be great to not to have to repeat the code twice...
Done the test. It seems as if LC does not want to communicate about it, or maybe the empty result is a message too (as told by the first axiom on communication by Paul Watzlawick "One Cannot Not Communicate")
Anyway, if I write wrong the name of the button I get the (correct) error:
Message execution error:
Error description: Chunk: no such object
Hint: chooseActionxy
Thank you Bernd, when I saw that in your stack the set behavior command works fine, I tought that the problem could be the reference in another card, so I tried to replaced "card 1" with the short name of the card and this worked!