RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.ClassGroupOf Function

Returns the group of persistent classes a specified class or instance belongs to.

Pascal
function ClassGroupOf(AClass: TPersistentClass): TPersistentClass; overload;
function ClassGroupOf(Instance: TPersistent): TPersistentClass; overload;
C++
TPersistentClass ClassGroupOf(TPersistentClass AClass);
TPersistentClass ClassGroupOf(TPersistent * Instance);

Classes

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.  

StartClassGroup starts a new group. GroupDescendantsWith adds a class to an existing group.  

ClassGroupOf returns the group that either a AClass class has been registered to, or the class of the specified Instance has been registered to. 

 

GroupDescendantsWith 

RegisterClass 

RegisterClasses 

StartClassGroup

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!