Subject Re: [IBO] Custom Glyphs
Author Campbell Fuller
Not sure what the C++ equivalent is but this from the Delphi Help -

'Call Low to obtain the lowest value or first element of an Ordinal, Array
or string. Result type is X, or the index type of X where X is either a type
identifier or a variable reference.'

The buttons are declared as follows: -

Buttons: array[TIB_NavigationBar_ButtonType] of TIB_NavigationBar_Button;

where TIB_NavigationBar_ButtonType is declared as :-

TIB_NavigationBar_ButtonType = ( nbFirst,
nbJumpBck,
nbPrior,
nbNext,
nbJumpFwd,
nbLast );

Sorry, my C is rather rusty and I can't think of the equivalent statements!

Campbell



""Malcolm Smith"" <mjfreelancing@...> wrote in message
news:HOENJAKPKCDBMMPILAEDKEKDKIAA.mjfreelancing@......
> What is the Low() and High() - I'm using C++Builder.
>
> Mal
>
> ---------
> I had the following code in the Forms ONSHOW :-
>
> for x := Low( navMaster.Buttons ) to High( navMaster.Buttons ) do
> navMaster.Buttons[x].numGlyphs := 2;
>
> NB : navMaster is the name of the navigation bar
>
>
>
>
___________________________________________________________________________
> 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/
>
>
>