JCL Help:GetClassParent

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the parent of the class.


Pascal

 function GetClassParent(AClass: TClass): TClass;


Parameters

Parameters Description
AClass: TClass The class for which to retrieve the parent class.


Return Value

The parent class (type of the immediate ancestor) of the specified class or nil of the specified class is TObject.


Description

Returns the parent class of the given class. That is, it returns the type of the immediate ancestor of the specified class. This is the same as TObject.ClassParent.


See Also

SetClassParent


About

Unit

JclSysUtils


Donator

Python


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page