Re: NavBar Widget

2020-01-10 Thread Brian Milby via use-livecode
Item 1 is already submitted as a PR.
I would avoid changing default behavior in the actual product though.


Thanks,
Brian
On Jan 10, 2020, 5:27 PM -0500, Ralph DiMola via use-livecode 
, wrote:
> 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 file is here ==> 
> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0
>
> Now I have to figure out how to change the docs and submit a pull request.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> 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


NavBar Widget

2020-01-10 Thread Ralph DiMola via use-livecode
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 file is here ==> 
https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0

Now I have to figure out how to change the docs and submit a pull request.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-17 Thread Brian Milby via use-livecode
For sharing, I would suggest (possibly in addition to sample stacks) that 
people set up a GitHub repo.  Even though you can’t easily see changes in 
binary stacks, commit notes can explain the changes.  Be sure to use the 
livecode tag to make projects easily found there.

If you want to expose the scripts, use ScriptTracker to export them before each 
commit.  Then those following the project can see how the scripts evolved.  
This does not require conversion of the project to use script only stacks even 
though the exported scripts are formatted with that possible use in mind.  If 
we can get enough repos out there we may even be able to get LiveCode script 
added as a language.

Brian
On Jun 17, 2019, 12:03 PM -0400, hh via use-livecode 
, wrote:
> > I wrote:
> > It is a "HTML5 Native Button", similar to the platform related 
> > "androidbutton"
> > or "iosbutton" widgets. Here is the source code
> > https://github.com/livecode/livecode/tree/develop/extensions/widgets
> >
> > This is good to know for people who give advices relating LC to Webdesign,
> > HTML, CSS, JavaScript ...
>
> Let me explain my last statement a bit. It is mainly meant to note
> = how much work the creation of a single native HTML5 control requires,
> = how far away doing webdesign with LC is away from the current state.
>
> TMHO, there is simply no way for LC to concur with the big companies with 
> that.
> This is not doable with a few people only.
>
> Concurring within the always changing main stream will, presumably, never 
> make LC
> grow. Specializing instead on elsewhere unavailable features, as is currently
> done with LCFM for Android, sounds more promising.
> The other developing "branches" of LC can profit from that.
>
> Though some features that Roland requests in his last post may become 
> available
> with the already announced CSS widget.
>
> And if more people who can afford it share their fancy controls, no matter how
> these are derived, then we will get a big base for starters.
>
> LivecodeShare ("Sample stacks" from the toolbar or 
> http://livecodeshare.runrev.com)
> is good for that. "Sample stacks" is very easy to use and downloads are fast.
>
> Yes, you can only upload stacks ... But as we all know, stacks can contain a 
> lot of
> things for sharing. Especially zips, sample groups or simply sample scripts.
> ___
> 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

Re: Is there a way to use custom icons in the navbar widget?

2019-06-17 Thread Bob Sneidar via use-livecode
Do you use the images as controls? If so should be no problem. If however you 
use buttons that reference the images, you will need to make sure that when 
pasting/cloning the group, you have code that re-associates the images with the 
buttons. 

Actually, now that I am thinking about it, this is a great arguement for using 
images as opposed to buttons when using custom icons. 

Bob S


> On Jun 15, 2019, at 08:39 , Tom Glod via use-livecode 
>  wrote:
> 
> I ended up making my own svg nav bar because i wanted the ability to have
> shadows or glows on the icons, its really easy to code the distribution of
> icons. There was also another limitation that I can't remember.  If you
> want more visual control, that is what i would recommend.
> 
> On Sat, Jun 15, 2019 at 11:05 AM Brian Milby via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> See the Icon SVG Library.  You can create your own icon families for use
>> in your apps.  The current icon family is the one shown in the PI but you
>> can use any available icon in the widget.
>> 
>> Thanks,
>> Brian
>> On Jun 15, 2019, 3:40 AM -0400, Matthias Rebbe via use-livecode <
>> use-livecode@lists.runrev.com>, wrote:
>>> Hi,
>>> 
>>> i am currently working on a mobile app which makes use of the navbar
>> widget. I like the ease of that widget. The only thing i am missing is that
>> i would like to use my own icons with it, because i need other symbols than
>> the ones provided by the widget.
>>> 
>>> So is there a way to use custom icons with that widget?
>>> 
>>> Regards
>>> Matthias
>>> ___
>>> 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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-17 Thread hh via use-livecode
> I wrote:
> It is a "HTML5 Native Button", similar to the platform related "androidbutton"
> or "iosbutton" widgets. Here is the source code
> https://github.com/livecode/livecode/tree/develop/extensions/widgets
> 
> This is good to know for people who give advices relating LC to Webdesign,
> HTML, CSS, JavaScript ...

Let me explain my last statement a bit. It is mainly meant to note
= how much work the creation of a single native HTML5 control requires,
= how far away doing webdesign with LC is away from the current state.

TMHO, there is simply no way for LC to concur with the big companies with that.
This is not doable with a few people only.

Concurring within the always changing main stream will, presumably, never make 
LC
grow. Specializing instead on elsewhere unavailable features, as is currently
done with LCFM for Android, sounds more promising.
The other developing "branches" of LC can profit from that.

Though some features that Roland requests in his last post may become available
with the already announced CSS widget.

And if more people who can afford it share their fancy controls, no matter how
these are derived, then we will get a big base for starters.

LivecodeShare ("Sample stacks" from the toolbar or 
http://livecodeshare.runrev.com)
is good for that. "Sample stacks" is very easy to use and downloads are fast.

Yes, you can only upload stacks ... But as we all know, stacks can contain a 
lot of
things for sharing. Especially zips, sample groups or simply sample scripts.
___
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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-17 Thread hh via use-livecode
> Roland H. wrote:
> (By the way, what is this HTML button widget meant to do? I searched 40
> minutes and still have no clue... Is this my fault to scratch my head?)

It is a "HTML5 Native Button", similar to the platform related "androidbutton"
or "iosbutton" widgets. Here is the source code
https://github.com/livecode/livecode/tree/develop/extensions/widgets

This is good to know for people who give advices relating LC to Webdesign,
HTML, CSS, JavaScript ...
___
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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-17 Thread R.H. via use-livecode
To me the nav-bar is pretty much useless the way it is.

It is a problem with widgets in general that they often do not allow fine
grained customization as long as they do not give access to all properties
and other settings and di what all other controls can do. And writing
myself a nav-bar with LCB? It limits rather than is expanding. Or will we
all go for LCB doing everything "there"?

A standard "group" with some nice SVG icons does the trick of a nav-bar
easily and under full control.

(By the way, what is this HTML button widget meant to do? I searched 40
minutes and still have no clue... Is this my fault to scratch my head?)

I would rather like to see standard controls with the enhancement of fully
matching CSS-3 specs. That would be controlling UIX on the level of today's
expectations.

Why do I have to mimick padding, full control of each side of rects, box
models etc.? That should be available "out of the box". CSS is the guide.

And the IDE mostly looks ugly. Tons of beautifully designed interfaces are
competing. As a newbie, I would be distracted looking at today's LiveCode
IDE.

A cramped toolbar, black-white. Ugly looking controls... ... I stop here.
It needs a designer.

There is flat design, Windows new UIX guides, Apples UIX guides, Googles
material UIX... But we still use default buttons that remind me of 10-20
years ago. I do change them. But why are there no really cool default
themes packed with the product? Several modern styles of buttons?
Predefinde fields with labels, It is not so much work to do.

"You can all do this yourself..." -- is not the answer. I do that already.

But an intelligent thoughtful default design of all our controls would
sell. And the stack window needs a customizable scroller, vertical and
horizontal, not a group doing that. It is expected standard.

For beginners, the choice is about what looks "col" first of all, not
understanding anything behind the curtain yet.

Color and form lead to a choice. They signal the level of promise, and if
the promise is fulfilled, the product shines and will be promoted by users.

There are millions of webdesigners, not really programmers. A huge market.
Would they not like to involve LiveCode and even pay for it? They all learn
HTML, CSS and ... JavaScript, or they are quickly out of business. Where is
the bridge? Designing for the web in LC? Translating to JavaScript source
code? (Our web HTML solution does not seem to take off and takes too much
time to download and is too much limited. I could not recommend to serious
customers.)

So, what does LC offer to those millions?

Hard-core developers will continue looking down on LC thinking of it to be
a kind of toy. (It is not.)

Sorry for going beyond the nav-bar.

Who needs LC?

I have answers, but fear that they are no longer convincing enough.

With appreciation and love for LiveCode. But I am concerned.

Roland
___
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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-16 Thread Tom Glod via use-livecode
There was something that was in the works..an improved sharing
centerbut that seems to have died.  no one has mentioned it in a while.

On Sun, Jun 16, 2019 at 3:20 AM AndyP via use-livecode <
use-livecode@lists.runrev.com> wrote:

> There was talk at one point of being able to link to github repositories
> directly from within LiveCode share. I think this was from last years
> online
> conference? This would be a great way to share code snippets ect but I have
> not seen any reference to this since.
>
>
>
> -
> Andy Piddock
>
>
> My software never has bugs. It just develops random features.
>
> TinyIDE  a Free alternative minimalist IDE Plugin for LiveCode
>
>
> Script editor Themer for LC http://2108.co.uk
>
> PointandSee is a FREE simple but full featured under cursor colour picker
> / finder.
> http://www.pointandsee.co.uk  - made with LiveCode
> --
> Sent from:
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>
> ___
> 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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-16 Thread AndyP via use-livecode
There was talk at one point of being able to link to github repositories
directly from within LiveCode share. I think this was from last years online
conference? This would be a great way to share code snippets ect but I have
not seen any reference to this since. 



-
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE  a Free alternative minimalist IDE Plugin for LiveCode 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread Alex Tweedly via use-livecode

I suspect it's a group / script rather than a widget.

And the facilities for sharing such things are primitive to say the 
least. IMHO, if Livecode made it as easy and "complete" to share 
scripts/groups as it is for widgets, there would be far more of them 
available


Alex.

P.S. by "complete" I mean things like

 - add them to toolbars

 - add documentation to the dictionary

 - be easily findable on a reliable distribution scheme

 - support inclusions / dependencies

 - etc.

On 15/06/2019 18:03, hh via use-livecode wrote:

Tom G. wrote:
I ended up making my own svg nav bar because i wanted the ability to have
shadows or glows on the icons, its really easy to code the distribution of
icons. There was also another limitation that I can't remember.  If you
want more visual control, that is what i would recommend.

Why don't you share it? There aren't much "community widgets" available ...

___
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

Re: Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread Tom Glod via use-livecode
its not a widget, just a group with some code that runs on "resizestack"

I am intending on putting the whole project in github when I get to a
certain point. Should be soon.

But maybe I can get around to publishing this part separately first.  If
you or anyone really needs it urgently, pm me and i will make time.

On Sat, Jun 15, 2019 at 1:04 PM hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Tom G. wrote:
> > I ended up making my own svg nav bar because i wanted the ability to have
> > shadows or glows on the icons, its really easy to code the distribution
> of
> > icons. There was also another limitation that I can't remember.  If you
> > want more visual control, that is what i would recommend.
>
> Why don't you share it? There aren't much "community widgets" available ...
>
> ___
> 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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread hh via use-livecode
> Tom G. wrote:
> I ended up making my own svg nav bar because i wanted the ability to have
> shadows or glows on the icons, its really easy to code the distribution of
> icons. There was also another limitation that I can't remember.  If you
> want more visual control, that is what i would recommend.

Why don't you share it? There aren't much "community widgets" available ...

___
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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread Tom Glod via use-livecode
I ended up making my own svg nav bar because i wanted the ability to have
shadows or glows on the icons, its really easy to code the distribution of
icons. There was also another limitation that I can't remember.  If you
want more visual control, that is what i would recommend.

On Sat, Jun 15, 2019 at 11:05 AM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> See the Icon SVG Library.  You can create your own icon families for use
> in your apps.  The current icon family is the one shown in the PI but you
> can use any available icon in the widget.
>
> Thanks,
> Brian
> On Jun 15, 2019, 3:40 AM -0400, Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > Hi,
> >
> > i am currently working on a mobile app which makes use of the navbar
> widget. I like the ease of that widget. The only thing i am missing is that
> i would like to use my own icons with it, because i need other symbols than
> the ones provided by the widget.
> >
> > So is there a way to use custom icons with that widget?
> >
> > Regards
> > Matthias
> > ___
> > 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


Re: Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread Brian Milby via use-livecode
See the Icon SVG Library.  You can create your own icon families for use in 
your apps.  The current icon family is the one shown in the PI but you can use 
any available icon in the widget.

Thanks,
Brian
On Jun 15, 2019, 3:40 AM -0400, Matthias Rebbe via use-livecode 
, wrote:
> Hi,
>
> i am currently working on a mobile app which makes use of the navbar widget. 
> I like the ease of that widget. The only thing i am missing is that i would 
> like to use my own icons with it, because i need other symbols than the ones 
> provided by the widget.
>
> So is there a way to use custom icons with that widget?
>
> Regards
> Matthias
> ___
> 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

Re: Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread Håkan Liljegren via use-livecode
The is a command setCurrentIconFamliy that you can use. You first need to 
create an icon family by adding all your wanted icons into an array, there 
array needs to have a structure of

Array
   Iconname
       Codepoint
       SVG
 iconname
       …

I’ve always used 0 for code point and the svg should be the SVG path

I do believe I have seen a stack sometime where someone had put together 
severalt of the common families. I can’t remember who did that though…

Håkan
On 15 Jun 2019, 09:39 +0200, Matthias Rebbe via use-livecode 
, wrote:
> Hi,
>
> i am currently working on a mobile app which makes use of the navbar widget. 
> I like the ease of that widget. The only thing i am missing is that i would 
> like to use my own icons with it, because i need other symbols than the ones 
> provided by the widget.
>
> So is there a way to use custom icons with that widget?
>
> Regards
> Matthias
> ___
> 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

Is there a way to use custom icons in the navbar widget?

2019-06-15 Thread Matthias Rebbe via use-livecode
Hi,

i am currently working on a  mobile app which makes use of the navbar widget. I 
like the ease of that widget. The only thing i am missing is that i would like 
to use my own icons with it, because i need other symbols than the ones 
provided by the widget.

So is there a way to use custom icons with that widget?

Regards
Matthias
___
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


Re: Navbar widget limitations

2018-06-20 Thread Klaus major-k via use-livecode
Hi Andrew,

> Am 20.06.2018 um 21:31 schrieb Andrew Bell via use-livecode 
> :
> 
> I've had growing frustration with adding items and changing itemNames of new 
> items in the Navigation Bar widget. Today I finally took the time to attempt 
> and recreate/troubleshoot the issue which led me to filing two bug reports.
> 
> One major limitation I discovered was that the widget only seems to support 
> up to 9 items. When a 10th item gets added, the correlation between item and 
> itemName seems to disappear. My suspicion is that the itemNames are being 
> sorted alphabetically rather than numerically so once you hit double-digits 
> the order breaks down.
> 
> Can any Navbar users confirm or comment on my findings, or offer some sort of 
> workaround?
> 
> https://quality.livecode.com/show_bug.cgi?id=21379 [10 items issue]
> https://quality.livecode.com/show_bug.cgi?id=21378 [item name issue]
> 
> --Andrew Bell

yes, confirmed on my Mac 10.13.5 and LC 9.
Here the order shifted even funkier!?

But this action makes the inspector completely unusable however,
with 15 items the inspector grows to almost 1900 pixels in width.


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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


Re: Navbar widget limitations

2018-06-20 Thread Klaus major-k via use-livecode
Hi Andrew,

> Am 20.06.2018 um 21:44 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi Andrew,
> 
>> Am 20.06.2018 um 21:31 schrieb Andrew Bell via use-livecode 
>> :
>> 
>> I've had growing frustration with adding items and changing itemNames of new 
>> items in the Navigation Bar widget. Today I finally took the time to attempt 
>> and recreate/troubleshoot the issue which led me to filing two bug reports.
>> 
>> One major limitation I discovered was that the widget only seems to support 
>> up to 9 items. When a 10th item gets added, the correlation between item and 
>> itemName seems to disappear. My suspicion is that the itemNames are being 
>> sorted alphabetically rather than numerically so once you hit double-digits 
>> the order breaks down.
> 
> just made a test on my Mac 10.13.5, LC 9 and I had no problem with 15 items 
> in the navigator widget!
> 
>> Can any Navbar users confirm or comment on my findings, or offer some sort 
>> of workaround?
>> 
>> https://quality.livecode.com/show_bug.cgi?id=21379 [10 items issue]
>> https://quality.livecode.com/show_bug.cgi?id=21378 [item name issue]

sorry, did not use your naming scheme in my test, will try again!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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


Re: Navbar widget limitations

2018-06-20 Thread Klaus major-k via use-livecode
Hi Andrew,

> Am 20.06.2018 um 21:31 schrieb Andrew Bell via use-livecode 
> :
> 
> I've had growing frustration with adding items and changing itemNames of new 
> items in the Navigation Bar widget. Today I finally took the time to attempt 
> and recreate/troubleshoot the issue which led me to filing two bug reports.
> 
> One major limitation I discovered was that the widget only seems to support 
> up to 9 items. When a 10th item gets added, the correlation between item and 
> itemName seems to disappear. My suspicion is that the itemNames are being 
> sorted alphabetically rather than numerically so once you hit double-digits 
> the order breaks down.

just made a test on my Mac 10.13.5, LC 9 and I had no problem with 15 items in 
the navigator widget!

> Can any Navbar users confirm or comment on my findings, or offer some sort of 
> workaround?
> 
> https://quality.livecode.com/show_bug.cgi?id=21379 [10 items issue]
> https://quality.livecode.com/show_bug.cgi?id=21378 [item name issue]
> 
> --Andrew Bell

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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


Navbar widget limitations

2018-06-20 Thread Andrew Bell via use-livecode
I've had growing frustration with adding items and changing itemNames  
of new items in the Navigation Bar widget. Today I finally took the  
time to attempt and recreate/troubleshoot the issue which led me to  
filing two bug reports.


One major limitation I discovered was that the widget only seems to  
support up to 9 items. When a 10th item gets added, the correlation  
between item and itemName seems to disappear. My suspicion is that the  
itemNames are being sorted alphabetically rather than numerically so  
once you hit double-digits the order breaks down.


Can any Navbar users confirm or comment on my findings, or offer some  
sort of workaround?


https://quality.livecode.com/show_bug.cgi?id=21379 [10 items issue]
https://quality.livecode.com/show_bug.cgi?id=21378 [item name issue]

--Andrew Bell



___
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


Re: NavBar widget in LC9.0.0

2018-05-24 Thread prothero--- via use-livecode
Andrew,
Tnx for the feedback. I made a test stack and, indeed, it works fine.

The stack built in a much older version of livecode, though. Could it be that I 
need to do something to get the latest widget into my project?

Bill

William Prothero
http://earthlearningsolutions.org

> On May 24, 2018, at 7:02 AM, Andrew Bell via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 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


___
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


Re: NavBar widget in LC9.0.0

2018-05-24 Thread Andrew Bell via use-livecode
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


Re: NavBar widget in LC9.0.0

2018-05-23 Thread Tore Nilsen via use-livecode
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

Re: NavBar widget in LC9.0.0

2018-05-23 Thread Brian Milby via use-livecode
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

Re: NavBar widget in LC9.0.0

2018-05-23 Thread prothero--- via use-livecode
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

Re: NavBar widget in LC9.0.0

2018-05-23 Thread Brian Milby via use-livecode
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

Re: NavBar widget in LC9.0.0

2018-05-23 Thread Brian Milby via use-livecode
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

Re: NavBar widget in LC9.0.0

2018-05-23 Thread Brian Milby via use-livecode
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

NavBar widget in LC9.0.0

2018-05-23 Thread William Prothero via use-livecode
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

Re: setting the hilited item of a navBar widget

2016-07-13 Thread Scott Morrow
I did try 'lock messages' and had thought that worked… but now it doesn’t 
appear to. I coded around it but found the issue curious.

> On Jul 13, 2016, at 5:51 AM, Mike Kerner  wrote:
> 
> Without getting into the "why", did you try setting lockMessages to true,
> first?
> ___
> 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

Re: setting the hilited item of a navBar widget

2016-07-13 Thread Mike Kerner
Without getting into the "why", did you try setting lockMessages to true,
first?
___
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


setting the hilited item of a navBar widget

2016-07-13 Thread sc...@elementarysoftware.com

 I’m trying to hook all my navBars widgets to a single behavior script (rather 
than putting them in a group set to behave like a background.)  When setting 
the hilitedItem of a navBar widget inside a “hiliteChanged” handler it triggers 
another “hiliteChanged” message. This makes sense but I would like to keep it 
from happening. This message isn’t in the pendingMessages and Lock Messages 
doesn’t seem to work for this.

on hiliteChanged
set the hilitedItem of widget “fooBar” to tHilitedItemNum — triggers 
another “hiliteChanged” message
end hiliteChanged

I can work around this but was wondering if I was just missing something 
obvious or using the widget incorrectly (Sort of like when I wasn’t holding my 
iPhone the right way.)

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
office 1-800-615-0867
--








___
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