lock messages and navigation bar widget
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.
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.
> Klaus Major
> 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:
More information about the use-livecode