Skip to content

TObject.ClassParent

Return the parent class.

Declaration

Source position: objpash.inc line 308

public 
class function TObject.ClassParent : TClass;

Description

ClassParent returns the class of the parent class of the current class. This is always different from Nil, except for TObject.

Errors

None.

See also

Name Description
ClassInfo Return a pointer to the type information for this class.
ClassType Return a "class of" pointer for the current class.
ClassNameIs Return the current class name.