IOC! If an object is selected, THAT is when the behavior is applied, and when deselected THAT is when the behavior is removed. Works as advertised then. :-) To test I closed your stack after deselecting the button then checked the behavior again, which was cleared.
Bob S > On Oct 11, 2021, at 16:58 , Niggemann, Bernd via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> Bob Sneidar via use-livecode Mon, 11 Oct 2021 16:42:20 -0700 >> >> I see. I think I did not maky myself clear. With the object inspector open >> and >> the behavior tab selected, before dragging the object with the pointer tool, >> there is no behavior registered. Upon dragging the object, the tool works as >> advertised, and that is the coolest thing since sliced bread, however the >> behavior for bnGuides is registered in the inspector, and remains registered >> even after I stop dragging the object. > > Just in case I did not make it clear: the behavior is removed when the > selection of the dragged is, well, deselected. Independend of dragging. > > To see that in the Properties inspector you would have to lock the Properties > Inspector for that object and after deselecting the object you would have to > change the tab in the Properties Inspector and go back to the "Behavior" tab > to see that the behavior is gone. > > Kind regards > Bernd _______________________________________________ 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