I did the same test on MacOS 10.13 and LC 9.0.0. Everything works as expected here.
Best, Tore Nilsen > 24. mai 2018 kl. 07:47 skrev Brian Milby via use-livecode > <use-livecode@lists.runrev.com>: > > I ran the test on Linux and Win10 with the same result. The icon highlight > moved along as expected. My test stack just had one button and a navbar > widget. > On Thu, May 24, 2018 at 12:39 AM prothero--- via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> 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 >> >> >> William Prothero >> http://earthlearningsolutions.org >> >>> On May 23, 2018, at 8:18 PM, Brian Milby via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>> >>> Wow, I really need to lay off of responding from my phone... >>> >>> Anyway, I just made a test stack on LC9, Mac (Sierra) and it works as >>> expected. Here's the button code: >>> >>> local sItemCount >>> >>> on mouseUp >>> put the number of items of the itemNames of widget "Navigation Bar" >> into >>> sItemCount >>> roundRobin >>> end mouseUp >>> >>> on roundRobin >>> local tItem >>> put the hilitedItem of widget "Navigation Bar" into tItem >>> if tItem = sItemCount then >>> put 1 into tItem >>> else >>> add 1 to tItem >>> end if >>> set the hilitedItem of widget "Navigation Bar" to tItem >>> if the shiftkey is not down then >>> send roundRobin to me in 500 milliseconds >>> end if >>> end roundRobin >>> >>> >>>> On Wed, May 23, 2018 at 9:11 PM, Brian Milby <br...@milby7.com> wrote: >>>> >>>> What version are you testing in? I’ve worked in that code a bit and >> though >>>> it was working properly. >>>> >>>>> On Wed, May 23, 2018 at 9:10 PM Brian Milby <br...@milby7.com> wrote: >>>>> >>>>> Can’t test right now, but this is from the dictionary: >>>>> >>>>> set the hilitedItem of widget to itemNumber >>>>> >>>>> On Wed, May 23, 2018 at 8:05 PM William Prothero via use-livecode < >>>>> use-livecode@lists.runrev.com> wrote: >>>>> >>>>>> Folks: >>>>>> I suppose this has already been submitted, but I just want to add my >> 2c >>>>>> re the navBar widget. >>>>>> >>>>>> There seems to be no way to set the hilitedItem of the navBar. The >> only >>>>>> way seems to click it with the mouse. The dictionary states that one >> can >>>>>> set the hilitedItem, and when I do I can get the hilitedItem that I >> set in >>>>>> code, but the item does not change its hilite. I can’t find another >> command >>>>>> to set the hilited, except by clicking on the navBar. >>>>>> >>>>>> If there is any workaround, I’d appreciate it. I’d like to just change >>>>>> the hilite in code. >>>>>> >>>>>> Best, >>>>>> Bill >>>>>> >>>>>> William A. Prothero >>>>>> http://earthlearningsolutions.org >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>>> >>> _______________________________________________ >>> 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 >> _______________________________________________ >> 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 > _______________________________________________ > 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 _______________________________________________ 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