[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

GroupDescendentsWith

Add class to the group of another class.

Declaration

Source position: classesh.inc line 2075

procedure GroupDescendentsWith(

  AClass: TPersistentClass;

  AClassGroup: TPersistentClass

);

Description

GroupDescendentsWith adds AClass to the group that AClassGroup belongs to. If AClassGroup belongs to more than 1 group, then it is added to the group which contains the nearest ancestor.

The class registration and streaming mechanism allows to organize the classes in groups. This allows an IDE to form groups of classes, which can be enabled or disabled. It is not needed at Run-Time.

See also

StartClassGroup

  

Start new class group.

ActivateClassGroup

  

Activates a class group

ClassGroupOf

  

Returns the class group to which an instance or class belongs


Documentation generated on: Nov 16 2015