Subject Re: [IBO] Custom Glyphs
Author Campbell Fuller
Malcom,

This was a very frustrating issue for me too and the answer unfortunately
lies in the way the CustomGlyphs have been coded. For some reason (a rather
odd one at that) when Jason creates the CustomGlyphs for the Buttons he sets
the NumGlyphs property to 1!!!

So it does'nt matter how many you have or the size its always treated as a
single glyph! Either change the code in the NavBars source file or you must
manually set the NumGlyphs value to 2 at run time.

Personally I feel Jason should correct this and either set the value to 2 by
default or expose a property that allows the developer to decide.

Campbell

""Malcolm Smith"" <mjfreelancing@...> wrote in message
news:000c01c24cb9$52bb1bd0$1a00a8c0@......
> I have assigned a image list to the CustomGlyphs property of my navigation
> bar and indicated in the CustomGlyphsSupplied property which glyphs are
> being used.
>
> When I assigned the image list all the images disappeared from the
> navigation bar. I then thought that may be the images needed to include
> both enabled and disabled images so I went ahead and created them 48x24
with
> the two states. Still no luck.
>
> What am I doing wrong ?
>
>
> Malcolm Smith
> MJ Freelancing
> ABN: 30 671 763 146
> http://www.mjfreelancing.com
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>