lock messages and navigation bar widget

Mike Kerner MikeKerner at roadrunner.com
Fri May 21 16:11:43 EDT 2021


"hilitedChanged" is currently the only message sent to the navbar
search the how list for "navbar pre hilitechanged" from a couple of weeks
ago, when I dealt with a similar issue.

On Fri, May 21, 2021 at 3:11 PM Brian Milby via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Yes, I was impacted the same way a while back.  The lockMessages
> dictionary entry lists the messages that get locked and it is smaller than
> I expected.
>
> Thanks,
> Brian
>
> Sent from my iPhone
>
> > On May 21, 2021, at 2:39 PM, Klaus major-k via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > Hi Brian,
> >
> >> Am 21.05.2021 um 20:34 schrieb Brian Milby via use-livecode <
> use-livecode at lists.runrev.com>:
> >>
> >> Works as expected/coded.
> >
> > hm, I had the naive thinking that "lock messages" would erm. lock the
> messages. und just change the icon. :-D
> > But this does obviously not apply to the navigation bar widget.
> >
> >> Not sure how it would be changed (don’t know how to get to that state
> inside the widget).
> >
> > OK, I just thought I was missing something.
> >
> >> Anyway, to work with this you need to have your handler check to see if
> it needs to run.  Pretty easy if using it to navigate between cards.  If
> already on the destination card, then exit the handler.
> >> Another way is to set a flag to skip the change handler before manually
> making the change in code.  Then when the handler starts, check for the
> flag before continuing.
> >
> > Yes.
> >
> >
> > Best
> >
> > Klaus
> >
> > --
> > Klaus Major
> > https://www.major-k.de
> > https://www.major-k.de/bass
> > klaus at major-k.de
> >
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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
>


-- 
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."



More information about the use-livecode mailing list