Re: [fpc-devel] Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-22 Thread Mattias Gaertner
Marc Weustink hat am 22. März 2012 um 10:31 geschrieben: > Felipe Monteiro de Carvalho wrote: > > Can I add a routine to access the AvgLvlTree as an array? To make it a > > better substitute to TFPList in objects which offer an indirect > > interface to the internal list, such as TLazAccessibleO

Re: [fpc-devel] Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-22 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Can I add a routine to access the AvgLvlTree as an array? To make it a better substitute to TFPList in objects which offer an indirect interface to the internal list, such as TLazAccessibleObject. My idea is defining: Index zero = Tree.FindLowest Indez Count-1=

[fpc-devel] Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-17 Thread Felipe Monteiro de Carvalho
Can I add a routine to access the AvgLvlTree as an array? To make it a better substitute to TFPList in objects which offer an indirect interface to the internal list, such as TLazAccessibleObject. My idea is defining: Index zero = Tree.FindLowest Indez Count-1= Tree.FindHighest On each access sto

[fpc-devel] Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-16 Thread Alexander Klenin
On Fri, Mar 16, 2012 at 21:06, Mattias Gaertner wrote: > On Fri, 16 Mar 2012 20:47:15 +1100 > Alexander Klenin wrote: > >> On Fri, Mar 16, 2012 at 19:36, Mattias Gaertner >> wrote: >> >> Is it possible to iterate through all items in a TAvgLvlTree? I >> >> couldn't find an easy method for doing