From: Clifford Stabbert Subject: Re: [delphi] How does the damm TOUtline work? Date: Thu, 20 Jul 1995 19:11:49 -0400 (EDT) On Thu, 20 Jul 1995, Cuchulain wrote: > How is GetNextChild supposed to work? Every time I try calling it I get > -1 as the result :-( It does what it says, not what the docs say. It returns the next child of the self node. If you have 1. | |__2. | |__3. 1.GetNextChild(2) returns 3. The docs imply that 2.GetNextChild(2) does this. In their example I believe they say Items[SelectedItem].GetNextChild(SelectedItem) and this should read Items[SelectedItem].Parent.GetNextChild(SelectedItem) instead. BTW, can you *believe* that sentence they put under GetNextChild??? cps