TObject.InheritsFrom¶
Check whether class is an ancestor.
Declaration¶
Source position: objpash.inc line 300
public
class function TObject.InheritsFrom(aclass: TClass) : Boolean;
Description¶
InheritsFrom returns True if AClass is an ancestor class from the current class, and returns false if it is not.