lock messages and navigation bar widget

Brian Milby brian at milby7.com
Fri May 21 15:10:16 EDT 2021


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




More information about the use-livecode mailing list