[ANN] bnGuides has been updated
bobsneidar at iotecdigital.com
Mon Oct 11 19:02:06 EDT 2021
Yes the problem persists. I won't attempt this with an object that already has a behavior for fear it may break the link.
By the way, one unintended (or otherwise intended) "feature" of this handy little utility is that you can drag items that are lockLoc'd. I actually like that!
> On Oct 11, 2021, at 15:38 , Niggemann, Bernd via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Bob Sneidar <https://firstname.lastname@example.org&q=from:%22Bob+Sneidar+via+use%5C-livecode%22> wrote
>> It was an old version so I imagine that was the issue. I got the new version
>> and am testing it in my IDE. I'll let you know if there are any issues.
> I think I know what is going on.
> Navigator selects the object to indicate the target. That triggers a selectedObjectChanged message.
> I naively assumed that would only happen when in "Edit mode" i.e. the tool is the "pointer tool"
> If you add the following conditional to the card script in handler revSelectedObjectChanged
> on revSelectedObjectChanged
> local tSelected, tSelectedOne
> ## dont set behavior if the tool is not "pointer tool"
> ## i.e. editing layout of controls
> if the tool <> "pointer tool" then
> exit revSelectedObjectChanged
> end if
> you should be fine. I will have to put out a new version which catches that.
> Kind regards
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode