HilitedItem of a navbar

Brian Milby brian at milby7.com
Tue Apr 7 13:43:58 EDT 2020


The PR is now merged into develop and will be in the next DP.  It only adds the option of selecting nothing but does not make it the default.  We could now work up a PR for the other piece, but I’m not sure about how that one works without downloading and testing (sounds like an option to hide the label on some of the items and shift the icon down).

Thanks,
Brian
On Apr 5, 2020, 9:41 AM -0400, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com>, wrote:
> Matts,
> No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again:
>
> I made 4 changes to the navbar widget.
>
> 1) The hiliteditem can be set to zero so no item is hilited
> 2) The default is no item hilited (hiliteditem = 0)
> 3) The inspector allows you to decrement the select item index to zero.
> 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property.
>
> If you need any of these features the link to the lcb source file is here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0
> The compiled version is here ==> https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 rename the original files in the bundle(mac) or program files(windows) to a save folder and move these in.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe via use-livecode
> Sent: Sunday, April 05, 2020 4:56 AM
> To: How to use LiveCode
> Cc: Matthias Rebbe
> Subject: Re: HilitedItem of a navbar
>
> Hi Ralph,
>
> Iteould be really great, if you could share it not only with Jacque. ;)
>
> I am also very interested in your version.
>
> Matthias
>
> Von meinem iPhone gesendet
>
> > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode <use-livecode at lists.runrev.com>:
> >
> > I have a version that will let you set it to zero and also if the
> > label is a single space the icon will expand to the full height. I can
> > send it to you is you like.
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdimola at evergreeninfo.net
> >
> >
> > -----Original Message-----
> > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On
> > Behalf Of J. Landman Gay via use-livecode
> > Sent: Saturday, April 04, 2020 3:31 PM
> > To: LiveCode Mailing List
> > Cc: J. Landman Gay
> > Subject: HilitedItem of a navbar
> >
> > I can't set this to 0? I need to.
> >
> >
> > --
> > Jacqueline Landman Gay | jacque at hyperactivesw.com
> > HyperActive Software | http://www.hyperactivesw.com
> >
> > _______________________________________________
> > 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
> >
> >
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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