Skip to content

ClassGroupOf

Returns the class group to which an instance or class belongs

Declaration

Source position: classesh.inc line 2385

  function ClassGroupOf(AClass: TPersistentClass) : TPersistentClass;
  function ClassGroupOf(Instance: TPersistent) : TPersistentClass;

Description

ClassGroupOf returns the class group to which AClass or Instance belongs.

Errors

The result is Nil if no matching class group is found.

See also

Name Description
ActivateClassGroup Activates a class group
GroupDescendentsWith Provided for Delphi compatibility
StartClassGroup Start new class group.