Michael Van Canneyt wrote: > > For classes you can use the 'is' function: > > If TSomeClass is TSomeOtherClass then > .. or, somewhat more readable in my opinion: if x.InheritsFrom(y) then ... - Sebastian