[Lazarus] How to iterate through a TAvgLvlTree

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 16 10:04:06 CET 2012


On Fri, 16 Mar 2012 09:36:06 +0100
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> On Fri, 16 Mar 2012 09:30:22 +0100
> Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> wrote:
> 
> > Hello,
> > 
> > Is it possible to iterate through all items in a TAvgLvlTree? I
> > couldn't find an easy method for doing that.
> 
> for Node in Tree do

You might also find the following useful:

Tree.FindLowest
Tree.FindHighest
Tree.FindSuccessor(Node)
Tree.FindPrecessor(Node)

Mattias




More information about the Lazarus mailing list