RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterCommandGroup.ImplCanAddClass Method

Checks the inheritance of the given component.

Pascal
function ImplCanAddClass(AParent: TComponent; AClass: TClass): Boolean; override;
C++
virtual __fastcall Boolean ImplCanAddClass(TComponent * AParent, TClass AClass);

The ImplCanAddClass checks the inheritance of the given component. If it is derived from either TCustomAdapterActionButton or TCustomLayoutGroup, it will return True to indicate that the class can be added to this TCustomAdapterCommandGroup

 

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