Show: Delphi C++
Display Preferences

System.Classes.ActivateClassGroup

From XE2 API Documentation
Jump to: navigation, search

Delphi

function ActivateClassGroup(AClass: TPersistentClass): TPersistentClass;

C++

extern PACKAGE TPersistentClass __fastcall ActivateClassGroup(TPersistentClass AClass);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

Activates a group of classes that derive from TPersistent.

The streaming system allows the classes that can be loaded and saved to be registered in separate groups. This allows the IDE to distinguish between cross-platform and Windows-only classes. Call ActivateClassGroup to activate the group of classes that contains the class specified by AClass. If AClass is in more than one group, all groups that contain the class are activated.

ActivateClassGroup returns the class that was last used to activate a class group.

If the requested class group cannot be activated ActivateClassGroup raises an exception.

See Also

Personal tools
Previous Versions
Translations