Sign in Join
FPDoc Onlineexperiment

ActivateClassGroup function

In unit Classes

Activates a class group.

Declaration

pascal
function ActivateClassGroup(AClass: TPersistentClass): TPersistentClass

Description

ActivateClassGroup activates the group of classes to which AClass belongs. The function returns the class that was last used to activate the class group.

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.

Errors

If AClass does not belong to a class group, an exception is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.