Both of these work for me in 9.0.0rc1 and 9.0.0 on 10.13.3 (using the
default widget with the 4 items):
set the hilitedItem of widget "Navigation Bar" to 4
set the hilitedItemName of widget "Navigation Bar" to "search"
By some chance do you have more than 1 navbar widget which is
unintentionally sucking up the message path?
--Andrew Bell
Date: Wed, 23 May 2018 22:38:54 -0700
From: "proth...@earthlearningsolutions.org"
<proth...@earthlearningsolutions.org>
Subject: Re: NavBar widget in LC9.0.0
I?ll make a test stack. But the problem is,
I click on item 1. Item 1 is hilited.
Then I run a script with:
Set the hiliteditem of widget ?navbar? to 3
Item 3 does not hilite, but if I do, in script:
Put the hiliteditem of widget ?navbar? into theItem
.. theItem is set to 3, but the widget?s hilite (the color of the
item) stays on item 1.
So what I?m unable to get to work is the hilite color move to item 3.
I?m using LC9.0.0 on OS X 10.13
I?ll try it again in the morning, perhaps make a test stack. Or
maybe it will just go away.
Best,
Bill
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode