NavBar widget in LC9.0.0

andrew at midwestcoastmedia.com andrew at midwestcoastmedia.com
Thu May 24 10:02:04 EDT 2018


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: "prothero at earthlearningsolutions.org"
> 	<prothero at 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






More information about the Use-livecode mailing list