lock messages and navigation bar widget

Klaus major-k klaus at major-k.de
Fri May 21 14:38:50 EDT 2021


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





More information about the use-livecode mailing list