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 
> <[email protected]> wrote:
> 
> Hi Brian,
> 
>> Am 21.05.2021 um 20:34 schrieb Brian Milby via use-livecode 
>> <[email protected]>:
>> 
>> 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
> [email protected]
> 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to