Skip to content

TObject.ClassParent

Return the parent class.

Declaration

Source position: objpash.inc line 224

public 
  class function 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.
ClassNameIs Return the current class name.
ClassType Return a "class of" pointer for the current class