<div dir="ltr"><div class="h5"></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p></p>
<p>Short answer: you can't. The same would happen with normal classes.</p>
<p>Long answer: You could add an additional method "Next" to your "TIntTree" which returns a "TIntTree" and just do "Result := TIntTree(inherited Next);" there.</p>
<p>Why are you subclassing in this case anyway?</p></blockquote><div>Thanks, I will inherit the method. I need to add features in the sub-class. This empty TIntTree is just to show the problem.<br></div><div> </div></div>
</div></div>